C# Класс Keen.Core.KeenClient

Keen.IO API access
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddEvent ( string collection, object eventInfo, IEnumerable addOns = null ) : void

Add a single event to the specified collection.

AddEventAsync ( string collection, object eventInfo, IEnumerable addOns = null ) : System.Threading.Tasks.Task

Add a single event to the specified collection.

AddEvents ( string collection, IEnumerable eventsInfo, IEnumerable addOns = null ) : void

Insert multiple events in a single request.

AddEventsAsync ( string collection, IEnumerable eventsInfo, IEnumerable addOns = null ) : System.Threading.Tasks.Task

Add a collection of events to the specified collection

AddGlobalProperty ( string property, object value ) : void

Add a static global property. This property will be added to every event.

DeleteCollection ( string collection ) : void

Delete the specified collection. Deletion may be denied for collections with many events. Master API key is required.

DeleteCollectionAsync ( string collection ) : System.Threading.Tasks.Task

Delete the specified collection. Deletion may be denied for collections with many events. Master API key is required.

GetQueries ( ) : string>>>.Task

Retrieve a list of all the queries supported by the API.

GetSchema ( string collection ) : dynamic

Retrieve the schema for the specified collection. This requires a value for the project settings Master API key.

GetSchemaAsync ( string collection ) : Task

Retrieve the schema for the specified collection. This requires a value for the project settings Master API key.

GetSchemas ( ) : Newtonsoft.Json.Linq.JArray

Return schema information for all the event collections in this project.

GetSchemasAsync ( ) : Task

Return schema information for all the event collections in this project.

KeenClient ( IProjectSettings prjSettings ) : Keen.Core.DataEnrichment

KeenClient ( IProjectSettings prjSettings, IEventCache eventCache ) : Keen.Core.DataEnrichment

Query ( string queryName, string>.Dictionary parms ) : Newtonsoft.Json.Linq.JObject

Call any Keen.IO API function with the specified parameters. Refer to Keen API documentation for details of request parameters and return type. Return type may be cast as dynamic.

Query ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : string

Return a single value.

QueryAsync ( string queryName, string>.Dictionary parms ) : Task

Call any Keen.IO API function with the specified parameters.

QueryAsync ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : Task

Run a query returning a single value.

QueryExtractResource ( string collection, QueryTimeframe timeframe = null, IEnumerable filters = null, int latest, string email = "" ) : IEnumerable

Extract full-form event data with all property values.

QueryExtractResourceAsync ( string collection, QueryTimeframe timeframe = null, IEnumerable filters = null, int latest, string email = "" ) : Task>

Extract full-form event data with all property values.

QueryFunnel ( IEnumerable steps, QueryTimeframe timeframe = null, string timezone = "" ) : Keen.Core.Query.FunnelResult

Funnels count relevant events in succession. See API documentation for details.

QueryFunnelAsync ( IEnumerable steps, QueryTimeframe timeframe = null, string timezone = "" ) : Task

Funnels count relevant events in succession. See API documentation for details.

QueryGroup ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, string groupBy, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : IEnumerable>

Returns values collected by group.

QueryGroupAsync ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, string groupBy, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : Task>>

Returns values collected by group.

QueryInterval ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, QueryTimeframe timeframe, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string timezone = "" ) : IEnumerable>

Returns values collected by time interval.

QueryIntervalAsync ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, QueryTimeframe timeframe, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string timezone = "" ) : Task>>

Return values collected by time interval.

QueryIntervalGroup ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, string groupBy, QueryTimeframe timeframe, Keen.Core.Query.QueryInterval interval, IEnumerable filters = null, string timezone = "" ) : IEnumerable>>>

Returns items collected by time interval and group.

QueryIntervalGroupAsync ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, string groupBy, QueryTimeframe timeframe, Keen.Core.Query.QueryInterval interval, IEnumerable filters = null, string timezone = "" ) : Task>>>>

Returns items collected by time interval and group.

QueryMultiAnalysis ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : string>.IDictionary

Run multiple types of analysis over the same data.

QueryMultiAnalysisAsync ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : string>>.Task

Run multiple types of analysis over the same data.

QueryMultiAnalysisGroup ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, IEnumerable filters = null, string groupBy = "", string timezone = "" ) : string>>>.IEnumerable

Run multiple types of analysis over the same data, grouped by the specified field.

QueryMultiAnalysisGroupAsync ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, IEnumerable filters = null, string groupBy = "", string timezone = "" ) : string>>>>.Task

Run multiple types of analysis over the same data, grouped by the specified field.

QueryMultiAnalysisInterval ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string timezone = "" ) : string>>>.IEnumerable

Run multiple types of analysis over the same data. Each item represents one interval.

QueryMultiAnalysisIntervalAsync ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string timezone = "" ) : string>>>>.Task

Run multiple types of analysis over the same data. Each item represents one interval.

QueryMultiAnalysisIntervalGroup ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string groupBy = "", string timezone = "" ) : string>>>>>.IEnumerable
QueryMultiAnalysisIntervalGroupAsync ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string groupBy = "", string timezone = "" ) : string>>>>>>.Task
SendCachedEvents ( ) : void

Submit all events found in the event cache. If an events are rejected by the server, KeenCacheException will be thrown with a listing of the rejected events, each with the error message it received.

SendCachedEventsAsync ( ) : System.Threading.Tasks.Task

Submit all events found in the event cache. If an events are rejected by the server, KeenCacheException will be thrown with a listing of the rejected events, each with the error message it received.

Приватные методы

Метод Описание
AddEventsBulkAsync ( string collection, IEnumerable eventsInfo ) : Task>

Add a collection of events to the specified collection. Assumes that objects in the collection have already been through AddEvent to receive global properties.

ExecDynamicPropertyValue ( string propName, IDynamicPropertyValue dynProp ) : void
PrepareUserObject ( object eventInfo, IEnumerable addOns ) : Newtonsoft.Json.Linq.JObject

Convert a user-supplied object to a JObject that can be sent to the Keen.IO API. This writes any global properties to the object and records the time.

Описание методов

AddEvent() публичный Метод

Add a single event to the specified collection.
public AddEvent ( string collection, object eventInfo, IEnumerable addOns = null ) : void
collection string Collection name
eventInfo object An object representing the event to be added.
addOns IEnumerable Optional collection of Data Enhancement Add-ons
Результат void

AddEventAsync() публичный Метод

Add a single event to the specified collection.
public AddEventAsync ( string collection, object eventInfo, IEnumerable addOns = null ) : System.Threading.Tasks.Task
collection string Collection name
eventInfo object The event to add.
addOns IEnumerable Optional collection of Data Enhancement Add-ons
Результат System.Threading.Tasks.Task

AddEvents() публичный Метод

Insert multiple events in a single request.
public AddEvents ( string collection, IEnumerable eventsInfo, IEnumerable addOns = null ) : void
collection string Collection name
eventsInfo IEnumerable Collection of events to add
addOns IEnumerable Optional collection of Data Enhancement Add-ons
Результат void

AddEventsAsync() публичный Метод

Add a collection of events to the specified collection
public AddEventsAsync ( string collection, IEnumerable eventsInfo, IEnumerable addOns = null ) : System.Threading.Tasks.Task
collection string Collection name
eventsInfo IEnumerable Collection of events to add
addOns IEnumerable Optional collection of Data Enhancement Add-ons
Результат System.Threading.Tasks.Task

AddGlobalProperty() публичный Метод

Add a static global property. This property will be added to every event.
public AddGlobalProperty ( string property, object value ) : void
property string Property name
value object Property value. This may be a simple value, array, or object, /// or an object that supports IDynamicPropertyValue returning one of those.
Результат void

DeleteCollection() публичный Метод

Delete the specified collection. Deletion may be denied for collections with many events. Master API key is required.
public DeleteCollection ( string collection ) : void
collection string Name of collection to delete.
Результат void

DeleteCollectionAsync() публичный Метод

Delete the specified collection. Deletion may be denied for collections with many events. Master API key is required.
public DeleteCollectionAsync ( string collection ) : System.Threading.Tasks.Task
collection string Name of collection to delete.
Результат System.Threading.Tasks.Task

GetQueries() публичный Метод

Retrieve a list of all the queries supported by the API.
public GetQueries ( ) : string>>>.Task
Результат string>>>.Task

GetSchema() публичный Метод

Retrieve the schema for the specified collection. This requires a value for the project settings Master API key.
public GetSchema ( string collection ) : dynamic
collection string
Результат dynamic

GetSchemaAsync() публичный Метод

Retrieve the schema for the specified collection. This requires a value for the project settings Master API key.
public GetSchemaAsync ( string collection ) : Task
collection string
Результат Task

GetSchemas() публичный Метод

Return schema information for all the event collections in this project.
public GetSchemas ( ) : Newtonsoft.Json.Linq.JArray
Результат Newtonsoft.Json.Linq.JArray

GetSchemasAsync() публичный Метод

Return schema information for all the event collections in this project.
public GetSchemasAsync ( ) : Task
Результат Task

KeenClient() публичный Метод

public KeenClient ( IProjectSettings prjSettings ) : Keen.Core.DataEnrichment
prjSettings IProjectSettings A ProjectSettings instance containing the ProjectId and API keys
Результат Keen.Core.DataEnrichment

KeenClient() публичный Метод

public KeenClient ( IProjectSettings prjSettings, IEventCache eventCache ) : Keen.Core.DataEnrichment
prjSettings IProjectSettings A ProjectSettings instance containing the ProjectId and API keys
eventCache IEventCache An IEventCache instance providing a caching strategy
Результат Keen.Core.DataEnrichment

Query() публичный Метод

Call any Keen.IO API function with the specified parameters. Refer to Keen API documentation for details of request parameters and return type. Return type may be cast as dynamic.
public Query ( string queryName, string>.Dictionary parms ) : Newtonsoft.Json.Linq.JObject
queryName string Query name, e.g., KeenConstants.QueryCount
parms string>.Dictionary Parameters for query, API keys are not required here.
Результат Newtonsoft.Json.Linq.JObject

Query() публичный Метод

Return a single value.
public Query ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : string
queryType Keen.Core.Query.QueryType Type of query to run.
collection string Name of event collection to query.
targetProperty string Name of property to analyse.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
Результат string

QueryAsync() публичный Метод

Call any Keen.IO API function with the specified parameters.
public QueryAsync ( string queryName, string>.Dictionary parms ) : Task
queryName string
parms string>.Dictionary
Результат Task

QueryAsync() публичный Метод

Run a query returning a single value.
public QueryAsync ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : Task
queryType Keen.Core.Query.QueryType Type of query to run.
collection string Name of event collection to query.
targetProperty string Name of property to analyse.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
Результат Task

QueryExtractResource() публичный Метод

Extract full-form event data with all property values.
public QueryExtractResource ( string collection, QueryTimeframe timeframe = null, IEnumerable filters = null, int latest, string email = "" ) : IEnumerable
collection string Name of event collection to query.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
latest int Request up to 100 of the most recent events added to a given collection.
email string If specified, email will be sent when the data is ready for download. Otherwise, it will be returned directly.
Результат IEnumerable

QueryExtractResourceAsync() публичный Метод

Extract full-form event data with all property values.
public QueryExtractResourceAsync ( string collection, QueryTimeframe timeframe = null, IEnumerable filters = null, int latest, string email = "" ) : Task>
collection string Name of event collection to query.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
latest int Request up to 100 of the most recent events added to a given collection.
email string If specified, email will be sent when the data is ready for download. Otherwise, it will be returned directly.
Результат Task>

QueryFunnel() публичный Метод

Funnels count relevant events in succession. See API documentation for details.
public QueryFunnel ( IEnumerable steps, QueryTimeframe timeframe = null, string timezone = "" ) : Keen.Core.Query.FunnelResult
steps IEnumerable Analysis steps for funnel.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
Результат Keen.Core.Query.FunnelResult

QueryFunnelAsync() публичный Метод

Funnels count relevant events in succession. See API documentation for details.
public QueryFunnelAsync ( IEnumerable steps, QueryTimeframe timeframe = null, string timezone = "" ) : Task
steps IEnumerable Analysis steps for funnel.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
Результат Task

QueryGroup() публичный Метод

Returns values collected by group.
public QueryGroup ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, string groupBy, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : IEnumerable>
queryType Keen.Core.Query.QueryType Type of query to run.
collection string Name of event collection to query.
targetProperty string Name of property to analyse.
groupBy string Name of a collection field by which to group results.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
Результат IEnumerable>

QueryGroupAsync() публичный Метод

Returns values collected by group.
public QueryGroupAsync ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, string groupBy, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : Task>>
queryType Keen.Core.Query.QueryType Type of query to run.
collection string Name of event collection to query.
targetProperty string Name of property to analyse.
groupBy string Name of a collection field by which to group results.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
Результат Task>>

QueryInterval() публичный Метод

Returns values collected by time interval.
public QueryInterval ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, QueryTimeframe timeframe, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string timezone = "" ) : IEnumerable>
queryType Keen.Core.Query.QueryType Type of query to run.
collection string Name of event collection to query.
targetProperty string Name of property to analyse.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
interval Keen.Core.Query.QueryInterval The block size for partitioning the specified timeframe. Optional, may be null.
filters IEnumerable Filters to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
Результат IEnumerable>

QueryIntervalAsync() публичный Метод

Return values collected by time interval.
public QueryIntervalAsync ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, QueryTimeframe timeframe, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string timezone = "" ) : Task>>
queryType Keen.Core.Query.QueryType Type of query to run.
collection string Name of event collection to query.
targetProperty string Name of property to analyse.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
interval Keen.Core.Query.QueryInterval The block size for partitioning the specified timeframe. Optional, may be null.
filters IEnumerable Filters to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
Результат Task>>

QueryIntervalGroup() публичный Метод

Returns items collected by time interval and group.
public QueryIntervalGroup ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, string groupBy, QueryTimeframe timeframe, Keen.Core.Query.QueryInterval interval, IEnumerable filters = null, string timezone = "" ) : IEnumerable>>>
queryType Keen.Core.Query.QueryType Type of query to run.
collection string Name of event collection to query.
targetProperty string Name of property to analyse.
groupBy string Name of field by which to group results.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
interval Keen.Core.Query.QueryInterval The block size for partitioning the specified timeframe. Optional, may be null.
filters IEnumerable Filters to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
Результат IEnumerable>>>

QueryIntervalGroupAsync() публичный Метод

Returns items collected by time interval and group.
public QueryIntervalGroupAsync ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, string groupBy, QueryTimeframe timeframe, Keen.Core.Query.QueryInterval interval, IEnumerable filters = null, string timezone = "" ) : Task>>>>
queryType Keen.Core.Query.QueryType Type of query to run.
collection string Name of event collection to query.
targetProperty string Name of property to analyse.
groupBy string Name of field by which to group results.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
interval Keen.Core.Query.QueryInterval The block size for partitioning the specified timeframe. Optional, may be null.
filters IEnumerable Filters to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
Результат Task>>>>

QueryMultiAnalysis() публичный Метод

Run multiple types of analysis over the same data.
public QueryMultiAnalysis ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : string>.IDictionary
collection string Name of event collection to query.
analysisParams IEnumerable Defines the multiple types of analyses to perform.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
Результат string>.IDictionary

QueryMultiAnalysisAsync() публичный Метод

Run multiple types of analysis over the same data.
public QueryMultiAnalysisAsync ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : string>>.Task
collection string Name of event collection to query.
analysisParams IEnumerable Defines the multiple types of analyses to perform.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
Результат string>>.Task

QueryMultiAnalysisGroup() публичный Метод

Run multiple types of analysis over the same data, grouped by the specified field.
public QueryMultiAnalysisGroup ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, IEnumerable filters = null, string groupBy = "", string timezone = "" ) : string>>>.IEnumerable
collection string Name of event collection to query.
analysisParams IEnumerable Defines the multiple types of analyses to perform.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
groupBy string Name of a collection field by which to group results.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
Результат string>>>.IEnumerable

QueryMultiAnalysisGroupAsync() публичный Метод

Run multiple types of analysis over the same data, grouped by the specified field.
public QueryMultiAnalysisGroupAsync ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, IEnumerable filters = null, string groupBy = "", string timezone = "" ) : string>>>>.Task
collection string Name of event collection to query.
analysisParams IEnumerable Defines the multiple types of analyses to perform.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
groupBy string Name of a collection field by which to group results.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
Результат string>>>>.Task

QueryMultiAnalysisInterval() публичный Метод

Run multiple types of analysis over the same data. Each item represents one interval.
public QueryMultiAnalysisInterval ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string timezone = "" ) : string>>>.IEnumerable
collection string Name of event collection to query.
analysisParams IEnumerable Defines the multiple types of analyses to perform.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
interval Keen.Core.Query.QueryInterval The block size for partitioning the specified timeframe. Optional, may be null.
filters IEnumerable Filters to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
Результат string>>>.IEnumerable

QueryMultiAnalysisIntervalAsync() публичный Метод

Run multiple types of analysis over the same data. Each item represents one interval.
public QueryMultiAnalysisIntervalAsync ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string timezone = "" ) : string>>>>.Task
collection string Name of event collection to query.
analysisParams IEnumerable Defines the multiple types of analyses to perform.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
interval Keen.Core.Query.QueryInterval The block size for partitioning the specified timeframe. Optional, may be null.
filters IEnumerable Filters to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
Результат string>>>>.Task

QueryMultiAnalysisIntervalGroup() публичный Метод

public QueryMultiAnalysisIntervalGroup ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string groupBy = "", string timezone = "" ) : string>>>>>.IEnumerable
collection string
analysisParams IEnumerable
timeframe QueryTimeframe
interval Keen.Core.Query.QueryInterval
filters IEnumerable
groupBy string
timezone string
Результат string>>>>>.IEnumerable

QueryMultiAnalysisIntervalGroupAsync() публичный Метод

public QueryMultiAnalysisIntervalGroupAsync ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string groupBy = "", string timezone = "" ) : string>>>>>>.Task
collection string
analysisParams IEnumerable
timeframe QueryTimeframe
interval Keen.Core.Query.QueryInterval
filters IEnumerable
groupBy string
timezone string
Результат string>>>>>>.Task

SendCachedEvents() публичный Метод

Submit all events found in the event cache. If an events are rejected by the server, KeenCacheException will be thrown with a listing of the rejected events, each with the error message it received.
public SendCachedEvents ( ) : void
Результат void

SendCachedEventsAsync() публичный Метод

Submit all events found in the event cache. If an events are rejected by the server, KeenCacheException will be thrown with a listing of the rejected events, each with the error message it received.
public SendCachedEventsAsync ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task