@azure/cosmos
Version:
Microsoft Azure Cosmos DB Service Node.js SDK for SQL API
25 lines • 576 B
TypeScript
import { Aggregator } from "./Aggregator";
interface MaxAggregateResult {
count: number;
max?: number;
}
/** @hidden */
export declare class MaxAggregator implements Aggregator {
private value;
private comparer;
/**
* Represents an aggregator for MAX operator.
* @hidden
*/
constructor();
/**
* Add the provided item to aggregation result.
*/
aggregate(other: MaxAggregateResult): void;
/**
* Get the aggregation result.
*/
getResult(): number;
}
export {};
//# sourceMappingURL=MaxAggregator.d.ts.map