ravendb
Version:
RavenDB client for Node.js
26 lines • 1.13 kB
TypeScript
import { ServerNode } from "../../../Http/ServerNode.js";
import { RavenCommand } from "../../../Http/RavenCommand.js";
import { HttpRequestParameters } from "../../../Primitives/Http.js";
import { Stream } from "node:stream";
import { DocumentConventions } from "../../Conventions/DocumentConventions.js";
export interface HiLoResult {
prefix: string;
low: number;
high: number;
lastSize: number;
serverTag: string;
lastRangeAt: Date;
}
export declare class NextHiloCommand extends RavenCommand<HiLoResult> {
private readonly _tag;
private readonly _lastBatchSize;
private readonly _lastRangeAt;
private readonly _identityPartsSeparator;
private readonly _lastRangeMax;
private readonly _conventions;
constructor(tag: string, lastBatchSize: number, lastRangeAt: Date, identityPartsSeparator: string, lastRangeMax: number, conventions: DocumentConventions);
createRequest(node: ServerNode): HttpRequestParameters;
setResponseAsync(bodyStream: Stream, fromCache: boolean): Promise<string>;
get isReadRequest(): boolean;
}
//# sourceMappingURL=NextHiloCommand.d.ts.map