Package io.dingodb.common
Interface Common.VectorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Common.Vector,Common.Vector.Builder
- Enclosing class:
- Common
public static interface Common.VectorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringgetBinaryValues(int index) repeated bytes binary_values = 4;intrepeated bytes binary_values = 4;List<com.google.protobuf.ByteString>repeated bytes binary_values = 4;intint32 dimension = 1;floatgetFloatValues(int index) repeated float float_values = 3;intrepeated float float_values = 3;repeated float float_values = 3;.dingodb.pb.common.ValueType value_type = 2;int.dingodb.pb.common.ValueType value_type = 2;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
-
getDimension
int getDimension()int32 dimension = 1;- Returns:
- The dimension.
-
getValueTypeValue
int getValueTypeValue().dingodb.pb.common.ValueType value_type = 2;- Returns:
- The enum numeric value on the wire for valueType.
-
getValueType
Common.ValueType getValueType().dingodb.pb.common.ValueType value_type = 2;- Returns:
- The valueType.
-
getFloatValuesList
repeated float float_values = 3;- Returns:
- A list containing the floatValues.
-
getFloatValuesCount
int getFloatValuesCount()repeated float float_values = 3;- Returns:
- The count of floatValues.
-
getFloatValues
float getFloatValues(int index) repeated float float_values = 3;- Parameters:
index- The index of the element to return.- Returns:
- The floatValues at the given index.
-
getBinaryValuesList
List<com.google.protobuf.ByteString> getBinaryValuesList()repeated bytes binary_values = 4;- Returns:
- A list containing the binaryValues.
-
getBinaryValuesCount
int getBinaryValuesCount()repeated bytes binary_values = 4;- Returns:
- The count of binaryValues.
-
getBinaryValues
com.google.protobuf.ByteString getBinaryValues(int index) repeated bytes binary_values = 4;- Parameters:
index- The index of the element to return.- Returns:
- The binaryValues at the given index.
-