"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
Object.defineProperty(exports, "__esModule", { value: true });
exports.ParallelQueryProcessingStrategy = void 0;
const CompositeQueryContinuationToken_js_1 = require("../../documents/ContinuationToken/CompositeQueryContinuationToken.js");
/**
 * Strategy for processing parallel queries (non-ORDER BY)
 * @hidden
 */
class ParallelQueryProcessingStrategy {
    /**
     * Parallel queries don't need additional query info from continuation token
     */
    createAdditionalQueryInfo(_parsedToken) {
        return undefined;
    }
    /**
     * Parallel queries don't use filter context for continuation token processing
     */
    createFilterContext(_parsedToken) {
        return undefined;
    }
    /**
     * Parallel queries don't apply partition-specific filter context
     */
    getPartitionFilterContext(_filterContext, _targetPartitionId, _partitionTargetRangeId) {
        return undefined;
    }
    /**
     * Parses parallel/composite continuation token
     */
    parseContinuationToken(continuationToken) {
        return (0, CompositeQueryContinuationToken_js_1.parseCompositeQueryContinuationToken)(continuationToken);
    }
}
exports.ParallelQueryProcessingStrategy = ParallelQueryProcessingStrategy;
//# sourceMappingURL=ParallelQueryProcessingStrategy.js.map