C# Class Keen.Core.KeenClient

Keen.IO API access
Afficher le fichier Open project: keenlabs/keen-sdk-net Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

AddEvent() public méthode

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
Résultat void

AddEventAsync() public méthode

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
Résultat System.Threading.Tasks.Task

AddEvents() public méthode

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
Résultat void

AddEventsAsync() public méthode

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
Résultat System.Threading.Tasks.Task

AddGlobalProperty() public méthode

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.
Résultat void

DeleteCollection() public méthode

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.
Résultat void

DeleteCollectionAsync() public méthode

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.
Résultat System.Threading.Tasks.Task

GetQueries() public méthode

Retrieve a list of all the queries supported by the API.
public GetQueries ( ) : string>>>.Task
Résultat string>>>.Task

GetSchema() public méthode

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
Résultat dynamic

GetSchemaAsync() public méthode

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
Résultat Task

GetSchemas() public méthode

Return schema information for all the event collections in this project.
public GetSchemas ( ) : Newtonsoft.Json.Linq.JArray
Résultat Newtonsoft.Json.Linq.JArray

GetSchemasAsync() public méthode

Return schema information for all the event collections in this project.
public GetSchemasAsync ( ) : Task
Résultat Task

KeenClient() public méthode

public KeenClient ( IProjectSettings prjSettings ) : Keen.Core.DataEnrichment
prjSettings IProjectSettings A ProjectSettings instance containing the ProjectId and API keys
Résultat Keen.Core.DataEnrichment

KeenClient() public méthode

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
Résultat Keen.Core.DataEnrichment

Query() public méthode

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.
Résultat Newtonsoft.Json.Linq.JObject

Query() public méthode

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.
Résultat string

QueryAsync() public méthode

Call any Keen.IO API function with the specified parameters.
public QueryAsync ( string queryName, string>.Dictionary parms ) : Task
queryName string
parms string>.Dictionary
Résultat Task

QueryAsync() public méthode

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.
Résultat Task

QueryExtractResource() public méthode

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.
Résultat IEnumerable

QueryExtractResourceAsync() public méthode

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.
Résultat Task>

QueryFunnel() public méthode

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.
Résultat Keen.Core.Query.FunnelResult

QueryFunnelAsync() public méthode

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.
Résultat Task

QueryGroup() public méthode

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.
Résultat IEnumerable>

QueryGroupAsync() public méthode

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.
Résultat Task>>

QueryInterval() public méthode

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.
Résultat IEnumerable>

QueryIntervalAsync() public méthode

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.
Résultat Task>>

QueryIntervalGroup() public méthode

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.
Résultat IEnumerable>>>

QueryIntervalGroupAsync() public méthode

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.
Résultat Task>>>>

QueryMultiAnalysis() public méthode

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.
Résultat string>.IDictionary

QueryMultiAnalysisAsync() public méthode

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.
Résultat string>>.Task

QueryMultiAnalysisGroup() public méthode

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.
Résultat string>>>.IEnumerable

QueryMultiAnalysisGroupAsync() public méthode

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.
Résultat string>>>>.Task

QueryMultiAnalysisInterval() public méthode

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.
Résultat string>>>.IEnumerable

QueryMultiAnalysisIntervalAsync() public méthode

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.
Résultat string>>>>.Task

QueryMultiAnalysisIntervalGroup() public méthode

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
Résultat string>>>>>.IEnumerable

QueryMultiAnalysisIntervalGroupAsync() public méthode

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
Résultat string>>>>>>.Task

SendCachedEvents() public méthode

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
Résultat void

SendCachedEventsAsync() public méthode

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
Résultat System.Threading.Tasks.Task