Interface ColumnarBatchCacheHandleExperimental

An identity-keyed batch cache plus the administration a host needs to audit it.

interface ColumnarBatchCacheHandle {
    clear(): Promise<void>;
    delete(identity: ColumnarBatchIdentityV1): Promise<void>;
    dispose(): void;
    key(identity: ColumnarBatchIdentityV1): Promise<`sha256:${string}`>;
    read(identity: ColumnarBatchIdentityV1, options?: ColumnarBatchCacheReadOptions): Promise<ColumnarBatchCacheReadV1>;
    records(): Promise<readonly ColumnarBatchCacheRecordV1[]>;
    write(batch: ColumnarBatchV1, options?: ColumnarBatchCacheWriteOptions): Promise<ColumnarBatchCacheWriteV1>;
}

Methods