UNPKG

@azure/cosmos

Version:
21 lines 899 B
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { ParallelQueryExecutionContextBase } from "./parallelQueryExecutionContextBase"; /** * Provides the ParallelQueryExecutionContext. * This class is capable of handling parallelized queries and derives from ParallelQueryExecutionContextBase. * @hidden */ export class ParallelQueryExecutionContext extends ParallelQueryExecutionContextBase { // Instance members are inherited // Overriding documentProducerComparator for ParallelQueryExecutionContexts /** * Provides a Comparator for document producers using the min value of the corresponding target partition. * @returns Comparator Function * @hidden */ documentProducerComparator(docProd1, docProd2) { return docProd1.generation - docProd2.generation; } } //# sourceMappingURL=parallelQueryExecutionContext.js.map