RefreshExternalCollectionJobInfo
Information of an external collection refresh job, as returned by list_refresh_external_collection_jobs() and get_refresh_external_collection_progress().
METHODS:
get_job_id()(i64) -The refresh job identifier.
get_collection_name()(&str) -The name of the collection being refreshed.
get_state()(RefreshExternalCollectionStateCode) -The current state of the refresh job. See RefreshExternalCollectionStateCode.
get_progress()(i32) -The refresh progress in percent (0 to 100).
get_reason()(&str) -The failure reason of the refresh job, empty when the job has not failed.
get_external_source()(&str) -The external data source, e.g. an S3 path.
get_external_spec()(&str) -The detailed external specification reported by the server.
get_start_time()(u64) -The start timestamp of the refresh job.
get_end_time()(u64) -The end timestamp of the refresh job.
Example
use milvus::v2::prelude::*;
let request = ListRefreshExternalCollectionJobsRequest::builder()
.collection_name("books")
.build()?;
let resp = client.list_refresh_external_collection_jobs(request).await?;
for job in resp.jobs() {
println!("{}: {:?} ({}%)", job.get_collection_name(), job.get_state(), job.get_progress());
}