メインコンテンツまでスキップ

getTotalRowCount()

Addedv2.6.xModifiedv2.6.x

This operation returns the total number of rows written by this RemoteBulkWriter instance.

public Long getTotalRowCount()

RETURNS:

Long

EXCEPTIONS:

  • MilvusClientException

    This exception will be raised when any error occurs during this operation.

Example

RemoteBulkWriter writer = new RemoteBulkWriter(config);
// ... append rows
Long totalRows = writer.getTotalRowCount();
System.out.println("Total rows written: " + totalRows);