IResultSet<TDocument>
Namespace: Meshmakers.Octo.Runtime.Contracts.Repositories.Query
Represents a result set.
public interface IResultSet<TDocument>
Type Parameters
TDocument
Type of document
Properties
TotalCount
Returns the total number of items in the result set.
public abstract long TotalCount { get; }
Property Value
Items
Returns the items in the result set.
public abstract IEnumerable<TDocument> Items { get; }
Property Value
AggregationResult
Returns the aggregation input for the result set.
public abstract AggregationResult AggregationResult { get; }
Property Value
FieldAggregationResult
Returns the aggregation results for a field aggregation operation.
public abstract IEnumerable<FieldAggregationResult> FieldAggregationResult { get; }