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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MsgBasegetBase()mustMsgBaseOrBuildergetBaseOrBuilder()mustStringgetCollectionName()mustcom.google.protobuf.ByteStringgetCollectionNameBytes()mustConsistencyLevelgetConsistencyLevel().milvus.proto.common.ConsistencyLevel consistency_level = 14;intgetConsistencyLevelValue().milvus.proto.common.ConsistencyLevel consistency_level = 14;StringgetDbName()string db_name = 2;com.google.protobuf.ByteStringgetDbNameBytes()string db_name = 2;StringgetDsl()mustcom.google.protobuf.ByteStringgetDslBytes()mustDslTypegetDslType()mustintgetDslTypeValue()mustlonggetGuaranteeTimestamp()guarantee_timestampbooleangetNotReturnAllMeta()bool not_return_all_meta = 13;longgetNq()int64 nq = 12;StringgetOutputFields(int index)repeated string output_fields = 8;com.google.protobuf.ByteStringgetOutputFieldsBytes(int index)repeated string output_fields = 8;intgetOutputFieldsCount()repeated string output_fields = 8;List<String>getOutputFieldsList()repeated string output_fields = 8;StringgetPartitionNames(int index)mustcom.google.protobuf.ByteStringgetPartitionNamesBytes(int index)mustintgetPartitionNamesCount()mustList<String>getPartitionNamesList()mustcom.google.protobuf.ByteStringgetPlaceholderGroup()serialized `PlaceholderGroup`KeyValuePairgetSearchParams(int index)mustintgetSearchParamsCount()mustList<KeyValuePair>getSearchParamsList()mustKeyValuePairOrBuildergetSearchParamsOrBuilder(int index)mustList<? extends KeyValuePairOrBuilder>getSearchParamsOrBuilderList()mustlonggetTravelTimestamp()uint64 travel_timestamp = 10;booleangetUseDefaultConsistency()bool use_default_consistency = 15;booleanhasBase()must-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
List<String> 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
String getPartitionNames(int index)
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
List<String> 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
String getOutputFields(int index)
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
KeyValuePair getSearchParams(int index)
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
KeyValuePairOrBuilder getSearchParamsOrBuilder(int index)
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.
-
-