This aggregator is used to produce an object that contains an estimated or actual cost of the query execution for a given Filter.

For example, the following code will print a QueryRecord, containing the estimated query cost and corresponding execution steps.

  const agent  = new QueryRecorder(RecordType.EXPLAIN);
const record = (QueryRecord) cache.aggregate(someFilter, agent);
console.print(JSON.stringify(record));

Type Parameters

  • K = any

    the type of the Map entry keys

  • V = any

    the type of the Map entry values

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

@class: string

Server-side EntryAggregator implementation type identifier.

extractor?: ValueExtractor

The ValueExtractor to apply when aggregating results.

type: object

The type object to be sent to the remote cluster.

Methods