Zum Hauptinhalt springen

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​

Int64

Items​

Returns the items in the result set.

public abstract IEnumerable<TDocument> Items { get; }

Property Value​

IEnumerable<TDocument>

AggregationResult​

Returns the aggregation input for the result set.

public abstract AggregationResult AggregationResult { get; }

Property Value​

AggregationResult

FieldAggregationResult​

Returns the aggregation results for a field aggregation operation.

public abstract IEnumerable<FieldAggregationResult> FieldAggregationResult { get; }

Property Value​

IEnumerable<FieldAggregationResult>