StreamDataDownsamplingQueryOptions
Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData
Options for a downsampling stream data query with time bins.
public class StreamDataDownsamplingQueryOptions : StreamDataQueryOptionsBase
Inheritance Object → StreamDataQueryOptionsBase → StreamDataDownsamplingQueryOptions
Properties
AggregationColumns
public IReadOnlyList<AggregationColumn> AggregationColumns { get; private set; }
Property Value
IReadOnlyList<AggregationColumn>
BinInterval
public TimeSpan BinInterval { get; private set; }
Property Value
CkTypeId
public RtCkId<CkTypeId> CkTypeId { get; protected set; }
Property Value
RtCkId<CkTypeId>
Columns
public IReadOnlyList<string> Columns { get; protected set; }
Property Value
RtIds
public IReadOnlyList<OctoObjectId> RtIds { get; protected set; }
Property Value
From
public Nullable<DateTime> From { get; protected set; }
Property Value
To
public Nullable<DateTime> To { get; protected set; }
Property Value
Limit
public Nullable<int> Limit { get; protected set; }
Property Value
SortOrders
public IReadOnlyList<SortOrderItem> SortOrders { get; protected set; }
Property Value
FieldFilters
public IReadOnlyList<FieldFilter> FieldFilters { get; protected set; }
Property Value
Offset
public Nullable<int> Offset { get; protected set; }
Property Value
PageSize
public Nullable<int> PageSize { get; protected set; }
Property Value
Constructors
StreamDataDownsamplingQueryOptions()
public StreamDataDownsamplingQueryOptions()
Methods
Create()
public static StreamDataDownsamplingQueryOptions Create()
Returns
StreamDataDownsamplingQueryOptions
WithCkTypeId(RtCkId<CkTypeId>)
public StreamDataDownsamplingQueryOptions WithCkTypeId(RtCkId<CkTypeId> id)
Parameters
id RtCkId<CkTypeId>
Returns
StreamDataDownsamplingQueryOptions
WithAggregationColumns(IReadOnlyList<AggregationColumn>)
public StreamDataDownsamplingQueryOptions WithAggregationColumns(IReadOnlyList<AggregationColumn> columns)
Parameters
columns IReadOnlyList<AggregationColumn>
Returns
StreamDataDownsamplingQueryOptions
WithBinInterval(TimeSpan)
public StreamDataDownsamplingQueryOptions WithBinInterval(TimeSpan interval)
Parameters
interval TimeSpan
Returns
StreamDataDownsamplingQueryOptions
WithTimeRange(Nullable<DateTime>, Nullable<DateTime>)
public StreamDataDownsamplingQueryOptions WithTimeRange(Nullable<DateTime> from, Nullable<DateTime> to)
Parameters
from Nullable<DateTime>
Returns
StreamDataDownsamplingQueryOptions
WithLimit(Nullable<Int32>)
public StreamDataDownsamplingQueryOptions WithLimit(Nullable<int> limit)
Parameters
limit Nullable<Int32>
Returns
StreamDataDownsamplingQueryOptions
WithFieldFilters(IReadOnlyList<FieldFilter>)
public StreamDataDownsamplingQueryOptions WithFieldFilters(IReadOnlyList<FieldFilter> fieldFilters)
Parameters
fieldFilters IReadOnlyList<FieldFilter>
Returns
StreamDataDownsamplingQueryOptions
WithRtIds(IReadOnlyList<OctoObjectId>)
public StreamDataDownsamplingQueryOptions WithRtIds(IReadOnlyList<OctoObjectId> ids)
Parameters
ids IReadOnlyList<OctoObjectId>
Returns
StreamDataDownsamplingQueryOptions
WithPagination(Nullable<Int32>, Nullable<Int32>)
public StreamDataDownsamplingQueryOptions WithPagination(Nullable<int> offset, Nullable<int> pageSize)
Parameters
offset Nullable<Int32>
pageSize Nullable<Int32>