Options
All
  • Public
  • Public/Protected
  • All
Menu

Class QueryRecorder<K, V>

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

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Protected @class

@class: string

Server-side EntryAggregator implementation type identifier.

Protected Optional extractor

extractor: ValueExtractor

The extractor.ValueExtractor to apply when aggregating results.

Methods

andThen