Package io.dingodb.index
Interface Index.VectorSearchResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Index.VectorSearchResponse,Index.VectorSearchResponse.Builder
- Enclosing class:
- Index
public static interface Index.VectorSearchResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetBatchResults(int index) this field is used for batch searchintthis field is used for batch searchthis field is used for batch searchgetBatchResultsOrBuilder(int index) this field is used for batch searchList<? extends Index.VectorWithDistanceResultOrBuilder>this field is used for batch searchgetError().dingodb.pb.error.Error error = 2;.dingodb.pb.error.Error error = 2;.dingodb.pb.common.ResponseInfo response_info = 1;.dingodb.pb.common.ResponseInfo response_info = 1;booleanhasError().dingodb.pb.error.Error error = 2;boolean.dingodb.pb.common.ResponseInfo response_info = 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
-
hasResponseInfo
boolean hasResponseInfo().dingodb.pb.common.ResponseInfo response_info = 1;- Returns:
- Whether the responseInfo field is set.
-
getResponseInfo
Common.ResponseInfo getResponseInfo().dingodb.pb.common.ResponseInfo response_info = 1;- Returns:
- The responseInfo.
-
getResponseInfoOrBuilder
Common.ResponseInfoOrBuilder getResponseInfoOrBuilder().dingodb.pb.common.ResponseInfo response_info = 1; -
hasError
boolean hasError().dingodb.pb.error.Error error = 2;- Returns:
- Whether the error field is set.
-
getError
ErrorOuterClass.Error getError().dingodb.pb.error.Error error = 2;- Returns:
- The error.
-
getErrorOrBuilder
ErrorOuterClass.ErrorOrBuilder getErrorOrBuilder().dingodb.pb.error.Error error = 2; -
getBatchResultsList
List<Index.VectorWithDistanceResult> getBatchResultsList()this field is used for batch search
repeated .dingodb.pb.index.VectorWithDistanceResult batch_results = 3; -
getBatchResults
this field is used for batch search
repeated .dingodb.pb.index.VectorWithDistanceResult batch_results = 3; -
getBatchResultsCount
int getBatchResultsCount()this field is used for batch search
repeated .dingodb.pb.index.VectorWithDistanceResult batch_results = 3; -
getBatchResultsOrBuilderList
List<? extends Index.VectorWithDistanceResultOrBuilder> getBatchResultsOrBuilderList()this field is used for batch search
repeated .dingodb.pb.index.VectorWithDistanceResult batch_results = 3; -
getBatchResultsOrBuilder
this field is used for batch search
repeated .dingodb.pb.index.VectorWithDistanceResult batch_results = 3;
-