Package io.milvus.grpc
Interface GetImportStateResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetImportStateResponse,GetImportStateResponse.Builder
public interface GetImportStateResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongcollection ID of the import task.longtimestamp when the import task is created.longgetId()id of an import tasklonggetIdList(int index) auto generated ids if the primary key is autoidintauto generated ids if the primary key is autoidauto generated ids if the primary key is autoidgetInfos(int index) more information about the task, progress percent, file path, failed reason, etc.intmore information about the task, progress percent, file path, failed reason, etc.more information about the task, progress percent, file path, failed reason, etc.getInfosOrBuilder(int index) more information about the task, progress percent, file path, failed reason, etc.List<? extends KeyValuePairOrBuilder> more information about the task, progress percent, file path, failed reason, etc.longif the task is finished, this value is how many rows are imported.longgetSegmentIds(int index) a list of segment IDs created by the import task.inta list of segment IDs created by the import task.a list of segment IDs created by the import task.getState()is this import task finished or notintis this import task finished or not.milvus.proto.common.Status status = 1;.milvus.proto.common.Status status = 1;boolean.milvus.proto.common.Status status = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasStatus
boolean hasStatus().milvus.proto.common.Status status = 1;- Returns:
- Whether the status field is set.
-
getStatus
Status getStatus().milvus.proto.common.Status status = 1;- Returns:
- The status.
-
getStatusOrBuilder
StatusOrBuilder getStatusOrBuilder().milvus.proto.common.Status status = 1; -
getStateValue
int getStateValue()is this import task finished or not
.milvus.proto.common.ImportState state = 2;- Returns:
- The enum numeric value on the wire for state.
-
getState
ImportState getState()is this import task finished or not
.milvus.proto.common.ImportState state = 2;- Returns:
- The state.
-
getRowCount
long getRowCount()if the task is finished, this value is how many rows are imported. if the task is not finished, this value is how many rows are parsed. return 0 if failed.
int64 row_count = 3;- Returns:
- The rowCount.
-
getIdListList
auto generated ids if the primary key is autoid
repeated int64 id_list = 4;- Returns:
- A list containing the idList.
-
getIdListCount
int getIdListCount()auto generated ids if the primary key is autoid
repeated int64 id_list = 4;- Returns:
- The count of idList.
-
getIdList
long getIdList(int index) auto generated ids if the primary key is autoid
repeated int64 id_list = 4;- Parameters:
index- The index of the element to return.- Returns:
- The idList at the given index.
-
getInfosList
List<KeyValuePair> getInfosList()more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5; -
getInfos
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5; -
getInfosCount
int getInfosCount()more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5; -
getInfosOrBuilderList
List<? extends KeyValuePairOrBuilder> getInfosOrBuilderList()more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5; -
getInfosOrBuilder
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5; -
getId
long getId()id of an import task
int64 id = 6;- Returns:
- The id.
-
getCollectionId
long getCollectionId()collection ID of the import task.
int64 collection_id = 7;- Returns:
- The collectionId.
-
getSegmentIdsList
a list of segment IDs created by the import task.
repeated int64 segment_ids = 8;- Returns:
- A list containing the segmentIds.
-
getSegmentIdsCount
int getSegmentIdsCount()a list of segment IDs created by the import task.
repeated int64 segment_ids = 8;- Returns:
- The count of segmentIds.
-
getSegmentIds
long getSegmentIds(int index) a list of segment IDs created by the import task.
repeated int64 segment_ids = 8;- Parameters:
index- The index of the element to return.- Returns:
- The segmentIds at the given index.
-
getCreateTs
long getCreateTs()timestamp when the import task is created.
int64 create_ts = 9;- Returns:
- The createTs.
-