FlushEvent

This interface describes a BulkWriter flush event. It reports the files generated for a chunk, the row count in that chunk, and the chunk index.

interface FlushEvent

FIELDS:

  • files (string[]) -

    [REQUIRED]

    Lists the files generated for the flushed chunk.

  • rowCount (number) -

    [REQUIRED]

    Specifies how many rows were flushed.

  • chunkIndex (number) -

    [REQUIRED]

    Specifies the zero-based chunk index.

Example

const event = {
    files: ['/tmp/chunk_0/data.parquet'],
    rowCount: 10000,
    chunkIndex: 0,
};

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?