跳到主要内容
版本:v3.0.x

getTotalRowCount()

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

Java
public Long getTotalRowCount()

RETURNS:

Long

EXCEPTIONS:

  • MilvusClientException

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

Example

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