Package io.milvus.grpc
Interface VectorFieldOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VectorField,VectorField.Builder
public interface VectorFieldOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringbytes bfloat16_vector = 5;com.google.protobuf.ByteStringbytes binary_vector = 3;longgetDim()For sparse vector, dim is the max dimension of the current batch of vectorscom.google.protobuf.ByteStringbytes float16_vector = 4;.milvus.proto.schema.FloatArray float_vector = 2;.milvus.proto.schema.FloatArray float_vector = 2;com.google.protobuf.ByteStringbytes int8_vector = 7;.milvus.proto.schema.SparseFloatArray sparse_float_vector = 6;.milvus.proto.schema.SparseFloatArray sparse_float_vector = 6;.milvus.proto.schema.VectorArray vector_array = 8;.milvus.proto.schema.VectorArray vector_array = 8;booleanbytes bfloat16_vector = 5;booleanbytes binary_vector = 3;booleanbytes float16_vector = 4;boolean.milvus.proto.schema.FloatArray float_vector = 2;booleanbytes int8_vector = 7;boolean.milvus.proto.schema.SparseFloatArray sparse_float_vector = 6;boolean.milvus.proto.schema.VectorArray vector_array = 8;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
-
getDim
long getDim()For sparse vector, dim is the max dimension of the current batch of vectors
int64 dim = 1;- Returns:
- The dim.
-
hasFloatVector
boolean hasFloatVector().milvus.proto.schema.FloatArray float_vector = 2;- Returns:
- Whether the floatVector field is set.
-
getFloatVector
FloatArray getFloatVector().milvus.proto.schema.FloatArray float_vector = 2;- Returns:
- The floatVector.
-
getFloatVectorOrBuilder
FloatArrayOrBuilder getFloatVectorOrBuilder().milvus.proto.schema.FloatArray float_vector = 2; -
hasBinaryVector
boolean hasBinaryVector()bytes binary_vector = 3;- Returns:
- Whether the binaryVector field is set.
-
getBinaryVector
com.google.protobuf.ByteString getBinaryVector()bytes binary_vector = 3;- Returns:
- The binaryVector.
-
hasFloat16Vector
boolean hasFloat16Vector()bytes float16_vector = 4;- Returns:
- Whether the float16Vector field is set.
-
getFloat16Vector
com.google.protobuf.ByteString getFloat16Vector()bytes float16_vector = 4;- Returns:
- The float16Vector.
-
hasBfloat16Vector
boolean hasBfloat16Vector()bytes bfloat16_vector = 5;- Returns:
- Whether the bfloat16Vector field is set.
-
getBfloat16Vector
com.google.protobuf.ByteString getBfloat16Vector()bytes bfloat16_vector = 5;- Returns:
- The bfloat16Vector.
-
hasSparseFloatVector
boolean hasSparseFloatVector().milvus.proto.schema.SparseFloatArray sparse_float_vector = 6;- Returns:
- Whether the sparseFloatVector field is set.
-
getSparseFloatVector
SparseFloatArray getSparseFloatVector().milvus.proto.schema.SparseFloatArray sparse_float_vector = 6;- Returns:
- The sparseFloatVector.
-
getSparseFloatVectorOrBuilder
SparseFloatArrayOrBuilder getSparseFloatVectorOrBuilder().milvus.proto.schema.SparseFloatArray sparse_float_vector = 6; -
hasInt8Vector
boolean hasInt8Vector()bytes int8_vector = 7;- Returns:
- Whether the int8Vector field is set.
-
getInt8Vector
com.google.protobuf.ByteString getInt8Vector()bytes int8_vector = 7;- Returns:
- The int8Vector.
-
hasVectorArray
boolean hasVectorArray().milvus.proto.schema.VectorArray vector_array = 8;- Returns:
- Whether the vectorArray field is set.
-
getVectorArray
VectorArray getVectorArray().milvus.proto.schema.VectorArray vector_array = 8;- Returns:
- The vectorArray.
-
getVectorArrayOrBuilder
VectorArrayOrBuilder getVectorArrayOrBuilder().milvus.proto.schema.VectorArray vector_array = 8; -
getDataCase
VectorField.DataCase getDataCase()
-