Package io.milvus.grpc
Interface PlaceholderValueOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PlaceholderValue,PlaceholderValue.Builder
public interface PlaceholderValueOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetTag()string tag = 1;com.google.protobuf.ByteStringgetTagBytes()string tag = 1;PlaceholderTypegetType().milvus.proto.common.PlaceholderType type = 2;intgetTypeValue().milvus.proto.common.PlaceholderType type = 2;com.google.protobuf.ByteStringgetValues(int index)values is a 2d-array of nq rows, every row contains a query vector.intgetValuesCount()values is a 2d-array of nq rows, every row contains a query vector.List<com.google.protobuf.ByteString>getValuesList()values is a 2d-array of nq rows, every row contains a query vector.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTag
String getTag()
string tag = 1;- Returns:
- The tag.
-
getTagBytes
com.google.protobuf.ByteString getTagBytes()
string tag = 1;- Returns:
- The bytes for tag.
-
getTypeValue
int getTypeValue()
.milvus.proto.common.PlaceholderType type = 2;- Returns:
- The enum numeric value on the wire for type.
-
getType
PlaceholderType getType()
.milvus.proto.common.PlaceholderType type = 2;- Returns:
- The type.
-
getValuesList
List<com.google.protobuf.ByteString> getValuesList()
values is a 2d-array of nq rows, every row contains a query vector. for dense vector, all rows are of the same length; for sparse vector, the length of each row may vary depending on their number of non-zeros.
repeated bytes values = 3;- Returns:
- A list containing the values.
-
getValuesCount
int getValuesCount()
values is a 2d-array of nq rows, every row contains a query vector. for dense vector, all rows are of the same length; for sparse vector, the length of each row may vary depending on their number of non-zeros.
repeated bytes values = 3;- Returns:
- The count of values.
-
getValues
com.google.protobuf.ByteString getValues(int index)
values is a 2d-array of nq rows, every row contains a query vector. for dense vector, all rows are of the same length; for sparse vector, the length of each row may vary depending on their number of non-zeros.
repeated bytes values = 3;- Parameters:
index- The index of the element to return.- Returns:
- The values at the given index.
-
-