C# 클래스 Keen.Core.KeenClient

Keen.IO API access
파일 보기 프로젝트 열기: keenlabs/keen-sdk-net 1 사용 예제들

공개 메소드들

메소드 설명
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