Interface IDataContractQueryFactory
Interface that defines a factory to build the various default queries with.
Assembly: STAIExtensions.Abstractions.dll
Syntax
public interface IDataContractQueryFactory
Methods
BuildAvailabilityQuery(Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<Availability> BuildAvailabilityQuery(int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildAvailabilityQueryWithCustomDate(DateTimeOffset, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<Availability> BuildAvailabilityQueryWithCustomDate(DateTimeOffset dateTimeOffset, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
DateTimeOffset |
dateTimeOffset |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildAvailabilityQueryWithTimeSpan(TimeSpan, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<Availability> BuildAvailabilityQueryWithTimeSpan(TimeSpan agoTimespan, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
TimeSpan |
agoTimespan |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildAvailabilityWithInterval(Int32, AgoPeriod, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<Availability> BuildAvailabilityWithInterval(int interval, AgoPeriod agoPeriod, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Int32 |
interval |
|
AgoPeriod |
agoPeriod |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildBrowserTimingQuery(Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<BrowserTiming> BuildBrowserTimingQuery(int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildBrowserTimingQueryWithCustomDate(DateTimeOffset, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<BrowserTiming> BuildBrowserTimingQueryWithCustomDate(DateTimeOffset dateTimeOffset, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
DateTimeOffset |
dateTimeOffset |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildBrowserTimingQueryWithTimeSpan(TimeSpan, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<BrowserTiming> BuildBrowserTimingQueryWithTimeSpan(TimeSpan agoTimespan, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
TimeSpan |
agoTimespan |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildBrowserTimingWithInterval(Int32, AgoPeriod, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<BrowserTiming> BuildBrowserTimingWithInterval(int interval, AgoPeriod agoPeriod, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Int32 |
interval |
|
AgoPeriod |
agoPeriod |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildCustomEventQuery(Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<CustomEvent> BuildCustomEventQuery(int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildCustomEventQueryWithCustomDate(DateTimeOffset, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<CustomEvent> BuildCustomEventQueryWithCustomDate(DateTimeOffset dateTimeOffset, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
DateTimeOffset |
dateTimeOffset |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildCustomEventQueryWithTimeSpan(TimeSpan, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<CustomEvent> BuildCustomEventQueryWithTimeSpan(TimeSpan agoTimespan, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
TimeSpan |
agoTimespan |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildCustomEventWithInterval(Int32, AgoPeriod, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<CustomEvent> BuildCustomEventWithInterval(int interval, AgoPeriod agoPeriod, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Int32 |
interval |
|
AgoPeriod |
agoPeriod |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildCustomMetricQuery(Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<CustomMetric> BuildCustomMetricQuery(int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildCustomMetricQueryWithCustomDate(DateTimeOffset, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<CustomMetric> BuildCustomMetricQueryWithCustomDate(DateTimeOffset dateTimeOffset, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
DateTimeOffset |
dateTimeOffset |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildCustomMetricQueryWithTimeSpan(TimeSpan, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<CustomMetric> BuildCustomMetricQueryWithTimeSpan(TimeSpan agoTimespan, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
TimeSpan |
agoTimespan |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildCustomMetricWithInterval(Int32, AgoPeriod, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<CustomMetric> BuildCustomMetricWithInterval(int interval, AgoPeriod agoPeriod, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Int32 |
interval |
|
AgoPeriod |
agoPeriod |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildCustomQuery<T>(String, String, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<T> BuildCustomQuery<T>(string tableName, string alias, int? topRows = null, bool? orderByTimestampDesc = null)
where T : DataContract
Parameters
Type |
Name |
Description |
System.String |
tableName |
|
System.String |
alias |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
Type Parameters
BuildCustomQueryWithCustomDate<T>(String, String, DateTimeOffset, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<T> BuildCustomQueryWithCustomDate<T>(string tableName, string alias, DateTimeOffset dateTimeOffset, int? topRows = null, bool? orderByTimestampDesc = null)
where T : DataContract
Parameters
Type |
Name |
Description |
System.String |
tableName |
|
System.String |
alias |
|
DateTimeOffset |
dateTimeOffset |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
Type Parameters
BuildCustomQueryWithInterval<T>(String, String, Int32, AgoPeriod, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<T> BuildCustomQueryWithInterval<T>(string tableName, string alias, int interval, AgoPeriod agoPeriod, int? topRows = null, bool? orderByTimestampDesc = null)
where T : DataContract
Parameters
Type |
Name |
Description |
System.String |
tableName |
|
System.String |
alias |
|
System.Int32 |
interval |
|
AgoPeriod |
agoPeriod |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
Type Parameters
BuildCustomQueryWithTimeSpan<T>(String, String, TimeSpan, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<T> BuildCustomQueryWithTimeSpan<T>(string tableName, string alias, TimeSpan agoTimespan, int? topRows = null, bool? orderByTimestampDesc = null)
where T : DataContract
Parameters
Type |
Name |
Description |
System.String |
tableName |
|
System.String |
alias |
|
TimeSpan |
agoTimespan |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
Type Parameters
BuildDependencyQuery(Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<Dependency> BuildDependencyQuery(int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildDependencyQueryWithCustomDate(DateTimeOffset, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<Dependency> BuildDependencyQueryWithCustomDate(DateTimeOffset dateTimeOffset, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
DateTimeOffset |
dateTimeOffset |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildDependencyQueryWithTimeSpan(TimeSpan, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<Dependency> BuildDependencyQueryWithTimeSpan(TimeSpan agoTimespan, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
TimeSpan |
agoTimespan |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildDependencyWithInterval(Int32, AgoPeriod, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<Dependency> BuildDependencyWithInterval(int interval, AgoPeriod agoPeriod, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Int32 |
interval |
|
AgoPeriod |
agoPeriod |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildExceptionQuery(Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<AIException> BuildExceptionQuery(int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildExceptionQueryWithCustomDate(DateTimeOffset, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<AIException> BuildExceptionQueryWithCustomDate(DateTimeOffset dateTimeOffset, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
DateTimeOffset |
dateTimeOffset |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildExceptionQueryWithTimeSpan(TimeSpan, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<AIException> BuildExceptionQueryWithTimeSpan(TimeSpan agoTimespan, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
TimeSpan |
agoTimespan |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildExceptionWithInterval(Int32, AgoPeriod, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<AIException> BuildExceptionWithInterval(int interval, AgoPeriod agoPeriod, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Int32 |
interval |
|
AgoPeriod |
agoPeriod |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildPageViewQuery(Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<PageView> BuildPageViewQuery(int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildPageViewQueryWithCustomDate(DateTimeOffset, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<PageView> BuildPageViewQueryWithCustomDate(DateTimeOffset dateTimeOffset, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
DateTimeOffset |
dateTimeOffset |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildPageViewQueryWithTimeSpan(TimeSpan, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<PageView> BuildPageViewQueryWithTimeSpan(TimeSpan agoTimespan, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
TimeSpan |
agoTimespan |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildPageViewWithInterval(Int32, AgoPeriod, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<PageView> BuildPageViewWithInterval(int interval, AgoPeriod agoPeriod, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Int32 |
interval |
|
AgoPeriod |
agoPeriod |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
Declaration
DataContractQuery<PerformanceCounter> BuildPerformanceCounterQuery(int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
Declaration
DataContractQuery<PerformanceCounter> BuildPerformanceCounterQueryWithCustomDate(DateTimeOffset dateTimeOffset, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
DateTimeOffset |
dateTimeOffset |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
Declaration
DataContractQuery<PerformanceCounter> BuildPerformanceCounterQueryWithTimeSpan(TimeSpan agoTimespan, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
TimeSpan |
agoTimespan |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
Declaration
DataContractQuery<PerformanceCounter> BuildPerformanceCounterWithInterval(int interval, AgoPeriod agoPeriod, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Int32 |
interval |
|
AgoPeriod |
agoPeriod |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildRequestQuery(Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<Request> BuildRequestQuery(int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildRequestQueryWithCustomDate(DateTimeOffset, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<Request> BuildRequestQueryWithCustomDate(DateTimeOffset dateTimeOffset, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
DateTimeOffset |
dateTimeOffset |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildRequestQueryWithTimeSpan(TimeSpan, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<Request> BuildRequestQueryWithTimeSpan(TimeSpan agoTimespan, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
TimeSpan |
agoTimespan |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildRequestWithInterval(Int32, AgoPeriod, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<Request> BuildRequestWithInterval(int interval, AgoPeriod agoPeriod, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Int32 |
interval |
|
AgoPeriod |
agoPeriod |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildTraceQuery(Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<Trace> BuildTraceQuery(int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildTraceQueryWithCustomDate(DateTimeOffset, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<Trace> BuildTraceQueryWithCustomDate(DateTimeOffset dateTimeOffset, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
DateTimeOffset |
dateTimeOffset |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildTraceQueryWithTimeSpan(TimeSpan, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<Trace> BuildTraceQueryWithTimeSpan(TimeSpan agoTimespan, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
TimeSpan |
agoTimespan |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns
BuildTraceWithInterval(Int32, AgoPeriod, Nullable<Int32>, Nullable<Boolean>)
Declaration
DataContractQuery<Trace> BuildTraceWithInterval(int interval, AgoPeriod agoPeriod, int? topRows = null, bool? orderByTimestampDesc = null)
Parameters
Type |
Name |
Description |
System.Int32 |
interval |
|
AgoPeriod |
agoPeriod |
|
System.Nullable<System.Int32> |
topRows |
|
System.Nullable<System.Boolean> |
orderByTimestampDesc |
|
Returns