Package io.milvus.grpc
Interface IndexDescriptionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
IndexDescription,IndexDescription.Builder
public interface IndexDescriptionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe vector field namecom.google.protobuf.ByteStringThe vector field namelongindex build progresslongIndex idIndex namecom.google.protobuf.ByteStringIndex namestring index_state_fail_reason = 8;com.google.protobuf.ByteStringstring index_state_fail_reason = 8;intmaximum index version for current indexintminimal index version for current indexgetParams(int index) Will return index_type, metric_type, params(like nlist).intWill return index_type, metric_type, params(like nlist).Will return index_type, metric_type, params(like nlist).getParamsOrBuilder(int index) Will return index_type, metric_type, params(like nlist).List<? extends KeyValuePairOrBuilder> Will return index_type, metric_type, params(like nlist).longint64 pending_index_rows = 9;getState()index stateintindex statelongint64 total_rows = 6;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
-
getIndexName
String getIndexName()Index name
string index_name = 1;- Returns:
- The indexName.
-
getIndexNameBytes
com.google.protobuf.ByteString getIndexNameBytes()Index name
string index_name = 1;- Returns:
- The bytes for indexName.
-
getIndexID
long getIndexID()Index id
int64 indexID = 2;- Returns:
- The indexID.
-
getParamsList
List<KeyValuePair> getParamsList()Will return index_type, metric_type, params(like nlist).
repeated .milvus.proto.common.KeyValuePair params = 3; -
getParams
Will return index_type, metric_type, params(like nlist).
repeated .milvus.proto.common.KeyValuePair params = 3; -
getParamsCount
int getParamsCount()Will return index_type, metric_type, params(like nlist).
repeated .milvus.proto.common.KeyValuePair params = 3; -
getParamsOrBuilderList
List<? extends KeyValuePairOrBuilder> getParamsOrBuilderList()Will return index_type, metric_type, params(like nlist).
repeated .milvus.proto.common.KeyValuePair params = 3; -
getParamsOrBuilder
Will return index_type, metric_type, params(like nlist).
repeated .milvus.proto.common.KeyValuePair params = 3; -
getFieldName
String getFieldName()The vector field name
string field_name = 4;- Returns:
- The fieldName.
-
getFieldNameBytes
com.google.protobuf.ByteString getFieldNameBytes()The vector field name
string field_name = 4;- Returns:
- The bytes for fieldName.
-
getIndexedRows
long getIndexedRows()index build progress
int64 indexed_rows = 5;- Returns:
- The indexedRows.
-
getTotalRows
long getTotalRows()int64 total_rows = 6;- Returns:
- The totalRows.
-
getStateValue
int getStateValue()index state
.milvus.proto.common.IndexState state = 7;- Returns:
- The enum numeric value on the wire for state.
-
getState
IndexState getState()index state
.milvus.proto.common.IndexState state = 7;- Returns:
- The state.
-
getIndexStateFailReason
String getIndexStateFailReason()string index_state_fail_reason = 8;- Returns:
- The indexStateFailReason.
-
getIndexStateFailReasonBytes
com.google.protobuf.ByteString getIndexStateFailReasonBytes()string index_state_fail_reason = 8;- Returns:
- The bytes for indexStateFailReason.
-
getPendingIndexRows
long getPendingIndexRows()int64 pending_index_rows = 9;- Returns:
- The pendingIndexRows.
-
getMinIndexVersion
int getMinIndexVersion()minimal index version for current index
int32 min_index_version = 10;- Returns:
- The minIndexVersion.
-
getMaxIndexVersion
int getMaxIndexVersion()maximum index version for current index
int32 max_index_version = 11;- Returns:
- The maxIndexVersion.
-