Package io.milvus.grpc
Interface SearchRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SearchRequest,SearchRequest.Builder
public interface SearchRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetBase()mustmustmustcom.google.protobuf.ByteStringmust.milvus.proto.common.ConsistencyLevel consistency_level = 14;int.milvus.proto.common.ConsistencyLevel consistency_level = 14;string db_name = 2;com.google.protobuf.ByteStringstring db_name = 2;getDsl()mustcom.google.protobuf.ByteStringmustmustintmustlongguarantee_timestampbooleanbool not_return_all_meta = 13;longgetNq()int64 nq = 12;getOutputFields(int index) repeated string output_fields = 8;com.google.protobuf.ByteStringgetOutputFieldsBytes(int index) repeated string output_fields = 8;intrepeated string output_fields = 8;repeated string output_fields = 8;getPartitionNames(int index) mustcom.google.protobuf.ByteStringgetPartitionNamesBytes(int index) mustintmustmustcom.google.protobuf.ByteStringserialized `PlaceholderGroup`booleanbool search_by_primary_keys = 16;getSearchParams(int index) mustintmustmustgetSearchParamsOrBuilder(int index) mustList<? extends KeyValuePairOrBuilder> mustgetSubReqs(int index) repeated .milvus.proto.milvus.SubSearchRequest sub_reqs = 17;intrepeated .milvus.proto.milvus.SubSearchRequest sub_reqs = 17;repeated .milvus.proto.milvus.SubSearchRequest sub_reqs = 17;getSubReqsOrBuilder(int index) repeated .milvus.proto.milvus.SubSearchRequest sub_reqs = 17;List<? extends SubSearchRequestOrBuilder> repeated .milvus.proto.milvus.SubSearchRequest sub_reqs = 17;longuint64 travel_timestamp = 10;booleanbool use_default_consistency = 15;booleanhasBase()mustMethods 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
-
hasBase
boolean hasBase()must
.milvus.proto.common.MsgBase base = 1;- Returns:
- Whether the base field is set.
-
getBase
MsgBase getBase()must
.milvus.proto.common.MsgBase base = 1;- Returns:
- The base.
-
getBaseOrBuilder
MsgBaseOrBuilder getBaseOrBuilder()must
.milvus.proto.common.MsgBase base = 1; -
getDbName
String getDbName()string db_name = 2;- Returns:
- The dbName.
-
getDbNameBytes
com.google.protobuf.ByteString getDbNameBytes()string db_name = 2;- Returns:
- The bytes for dbName.
-
getCollectionName
String getCollectionName()must
string collection_name = 3;- Returns:
- The collectionName.
-
getCollectionNameBytes
com.google.protobuf.ByteString getCollectionNameBytes()must
string collection_name = 3;- Returns:
- The bytes for collectionName.
-
getPartitionNamesList
must
repeated string partition_names = 4;- Returns:
- A list containing the partitionNames.
-
getPartitionNamesCount
int getPartitionNamesCount()must
repeated string partition_names = 4;- Returns:
- The count of partitionNames.
-
getPartitionNames
must
repeated string partition_names = 4;- Parameters:
index- The index of the element to return.- Returns:
- The partitionNames at the given index.
-
getPartitionNamesBytes
com.google.protobuf.ByteString getPartitionNamesBytes(int index) must
repeated string partition_names = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the partitionNames at the given index.
-
getDsl
String getDsl()must
string dsl = 5;- Returns:
- The dsl.
-
getDslBytes
com.google.protobuf.ByteString getDslBytes()must
string dsl = 5;- Returns:
- The bytes for dsl.
-
getPlaceholderGroup
com.google.protobuf.ByteString getPlaceholderGroup()serialized `PlaceholderGroup`
bytes placeholder_group = 6;- Returns:
- The placeholderGroup.
-
getDslTypeValue
int getDslTypeValue()must
.milvus.proto.common.DslType dsl_type = 7;- Returns:
- The enum numeric value on the wire for dslType.
-
getDslType
DslType getDslType()must
.milvus.proto.common.DslType dsl_type = 7;- Returns:
- The dslType.
-
getOutputFieldsList
repeated string output_fields = 8;- Returns:
- A list containing the outputFields.
-
getOutputFieldsCount
int getOutputFieldsCount()repeated string output_fields = 8;- Returns:
- The count of outputFields.
-
getOutputFields
repeated string output_fields = 8;- Parameters:
index- The index of the element to return.- Returns:
- The outputFields at the given index.
-
getOutputFieldsBytes
com.google.protobuf.ByteString getOutputFieldsBytes(int index) repeated string output_fields = 8;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the outputFields at the given index.
-
getSearchParamsList
List<KeyValuePair> getSearchParamsList()must
repeated .milvus.proto.common.KeyValuePair search_params = 9; -
getSearchParams
must
repeated .milvus.proto.common.KeyValuePair search_params = 9; -
getSearchParamsCount
int getSearchParamsCount()must
repeated .milvus.proto.common.KeyValuePair search_params = 9; -
getSearchParamsOrBuilderList
List<? extends KeyValuePairOrBuilder> getSearchParamsOrBuilderList()must
repeated .milvus.proto.common.KeyValuePair search_params = 9; -
getSearchParamsOrBuilder
must
repeated .milvus.proto.common.KeyValuePair search_params = 9; -
getTravelTimestamp
long getTravelTimestamp()uint64 travel_timestamp = 10;- Returns:
- The travelTimestamp.
-
getGuaranteeTimestamp
long getGuaranteeTimestamp()guarantee_timestamp
uint64 guarantee_timestamp = 11;- Returns:
- The guaranteeTimestamp.
-
getNq
long getNq()int64 nq = 12;- Returns:
- The nq.
-
getNotReturnAllMeta
boolean getNotReturnAllMeta()bool not_return_all_meta = 13;- Returns:
- The notReturnAllMeta.
-
getConsistencyLevelValue
int getConsistencyLevelValue().milvus.proto.common.ConsistencyLevel consistency_level = 14;- Returns:
- The enum numeric value on the wire for consistencyLevel.
-
getConsistencyLevel
ConsistencyLevel getConsistencyLevel().milvus.proto.common.ConsistencyLevel consistency_level = 14;- Returns:
- The consistencyLevel.
-
getUseDefaultConsistency
boolean getUseDefaultConsistency()bool use_default_consistency = 15;- Returns:
- The useDefaultConsistency.
-
getSearchByPrimaryKeys
boolean getSearchByPrimaryKeys()bool search_by_primary_keys = 16;- Returns:
- The searchByPrimaryKeys.
-
getSubReqsList
List<SubSearchRequest> getSubReqsList()repeated .milvus.proto.milvus.SubSearchRequest sub_reqs = 17; -
getSubReqs
repeated .milvus.proto.milvus.SubSearchRequest sub_reqs = 17; -
getSubReqsCount
int getSubReqsCount()repeated .milvus.proto.milvus.SubSearchRequest sub_reqs = 17; -
getSubReqsOrBuilderList
List<? extends SubSearchRequestOrBuilder> getSubReqsOrBuilderList()repeated .milvus.proto.milvus.SubSearchRequest sub_reqs = 17; -
getSubReqsOrBuilder
repeated .milvus.proto.milvus.SubSearchRequest sub_reqs = 17;
-