@azure/cosmos
Version:
Microsoft Azure Cosmos DB Service Node.js SDK for NOSQL API
20 lines • 977 B
TypeScript
import type { Response } from "../request/index.js";
import type { DiagnosticNodeInternal } from "../diagnostics/DiagnosticNodeInternal.js";
import type { ExecutionContext } from "./ExecutionContext.js";
/**
* Query control enabled fetch implementation with continuation token support
* @hidden
*/
export declare class QueryControlFetchImplementation {
private endpoint;
private pageSize;
private readonly continuationTokenManager;
private readonly querySupportsTokens;
constructor(endpoint: ExecutionContext, pageSize: number, collectionLink: string, continuationToken: string | undefined, isOrderByQuery: boolean, querySupportsTokens: boolean);
fetchMore(diagnosticNode: DiagnosticNodeInternal, fetchBuffer: any[]): Promise<Response<any>>;
private _handleSimpleBufferFetch;
private _handleQueryFetch;
private _setContinuationTokenInHeaders;
private _createEmptyResult;
}
//# sourceMappingURL=QueryControlFetchImplementation.d.ts.map