@azure/storage-blob
Version:
Microsoft Azure Storage SDK for JavaScript - Blob
24 lines • 1.19 kB
TypeScript
import type { BlobItemInternal, BlobPrefix as BlobPrefixInternal } from "../generated/src/models/index.js";
/**
* The result of parsing an Apache Arrow blob-listing segment: the blobs and
* prefixes for the current page plus the continuation token for the next page.
*/
export interface ParsedBlobListArrowSegment {
/** Continuation token for the next page, read from the Arrow schema metadata. */
nextMarker?: string;
/** The blobs in this page, in the generated internal shape (projected to public models by the caller). */
blobItems: BlobItemInternal[];
/** The blob prefixes in this page (only populated for hierarchy listings). */
blobPrefixes: BlobPrefixInternal[];
}
/**
* Reads the raw body of an Apache Arrow List Blobs response (a Node.js readable
* stream or a browser Blob) and parses it into blob items and prefixes.
*
* @param response - The raw stream response returned by the Apache Arrow list operation.
*/
export declare function parseBlobListArrowResponse(response: {
readableStreamBody?: NodeJS.ReadableStream;
blobBody?: Promise<Blob>;
}): Promise<ParsedBlobListArrowSegment>;
//# sourceMappingURL=blobListArrowParser.d.ts.map