Data Import
Method related to data imports.
createImportJobs() [READ MORE]
This operation creates an HTTP import job from file groups. Use it after preparing files in object storage or another location accessible to the Milvus import service.
HttpImportCreateReq [READ MORE]
This interface defines the request body for `createImportJobs()`.
HttpImportCreateResponse [READ MORE]
This interface describes the response returned by `createImportJobs()`.
HttpImportListResponse [READ MORE]
This interface describes the response returned by `listImportJobs()`.
HttpImportProgressReq [READ MORE]
This interface defines the request body for `getImportJobProgress()`.
HttpImportProgressResponse [READ MORE]
This interface describes the response returned by `getImportJobProgress()`.
listImportJobs() [READ MORE]
This operation lists import jobs submitted through the HTTP import job API. Use it to review job IDs, collection names, progress, and state.
bulkInsert() [READ MORE]
This operation imports the data from a specified data file into Milvus.
BulkWriter [READ MORE]
This class generates Milvus-compatible JSON or Parquet files for offline bulk import workflows. Use it when a dataset is too large for normal row-by-row insert operations and should be staged as files before calling `bulkInsert()`.
BulkWriterOptions [READ MORE]
This interface configures a `BulkWriter` instance, including schema validation, storage behavior, file format, chunk size, and local output path.
BulkWriterSchema [READ MORE]
This interface describes the collection schema used by `BulkWriter` to validate rows and generate JSON or Parquet files that Milvus can import.
FlushEvent [READ MORE]
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.
Formatter [READ MORE]
This interface serializes buffered `BulkWriter` columns into one or more files. The SDK provides JSON and Parquet formatter implementations.
listImportTasks() [READ MORE]
List import tasks for a collection, showing the status and details of bulk import operations.
Storage [READ MORE]
This interface stores files produced by `BulkWriter`. Use it to upload generated files to object storage or another remote location before calling `bulkInsert()`.
getImportState() [READ MORE]
This operation retrieves the current state and metadata of a specific import task. Use this to poll for completion after calling `bulkInsert()`.