🚀 Try Zilliz Cloud, the fully managed Milvus, for free—experience 10x faster performance! Try Now>>

Milvus
Zilliz
< Docs
  • Java

append_row()

This operation appends records to the writer.

public void appendRow(JsonObject rowData)

Request Syntax

localBulkWriter.appendRow(
    JsonObject rowData
)

PARAMETERS:

  • rowData (JsonObject) -

    A dictionary representing an entity to be appended.

    The keys and their values in the dictionary should match the schema referenced in the current LocalBulkWriter.

RETURN TYPE:

void

Example

JsonObject row = new JsonObject();
row.addProperty("path", "path_" + i);
row.add("vector", GSON_INSTANCE.toJsonTree(GeneratorUtils.genFloatVector(DIM)));
row.addProperty("label", "label_" + i);

localBulkWriter.appendRow(row);

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?