public static final class Search.KnnVectorQuery extends com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage implements Search.KnnVectorQueryOrBuilder
com.alicloud.openservices.tablestore.core.protocol.KnnVectorQuery| 限定符和类型 | 类和说明 |
|---|---|
static class |
Search.KnnVectorQuery.Builder
Protobuf type
com.alicloud.openservices.tablestore.core.protocol.KnnVectorQuery |
com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.aliyun.ots.thirdparty.com.google.protobuf.Message,T>, com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| 限定符和类型 | 字段和说明 |
|---|---|
static int |
FIELD_NAME_FIELD_NUMBER |
static int |
FILTER_FIELD_NUMBER |
static int |
FLOAT32_QUERY_VECTOR_FIELD_NUMBER |
static int |
MIN_SCORE_FIELD_NUMBER |
static int |
NUM_CANDIDATES_FIELD_NUMBER |
static int |
TOP_K_FIELD_NUMBER |
static int |
WEIGHT_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
static Search.KnnVectorQuery |
getDefaultInstance() |
Search.KnnVectorQuery |
getDefaultInstanceForType() |
static com.aliyun.ots.thirdparty.com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFieldName()
optional string field_name = 1; |
com.aliyun.ots.thirdparty.com.google.protobuf.ByteString |
getFieldNameBytes()
optional string field_name = 1; |
Search.Query |
getFilter()
optional .com.alicloud.openservices.tablestore.core.protocol.Query filter = 5; |
Search.QueryOrBuilder |
getFilterOrBuilder()
optional .com.alicloud.openservices.tablestore.core.protocol.Query filter = 5; |
float |
getFloat32QueryVector(int index)
repeated float float32_query_vector = 4; |
int |
getFloat32QueryVectorCount()
repeated float float32_query_vector = 4; |
List<Float> |
getFloat32QueryVectorList()
repeated float float32_query_vector = 4; |
float |
getMinScore()
optional float min_score = 7; |
int |
getNumCandidates()
optional int32 num_candidates = 8; |
com.aliyun.ots.thirdparty.com.google.protobuf.Parser<Search.KnnVectorQuery> |
getParserForType() |
int |
getSerializedSize() |
int |
getTopK()
optional int32 top_k = 2; |
float |
getWeight()
optional float weight = 6; |
boolean |
hasFieldName()
optional string field_name = 1; |
boolean |
hasFilter()
optional .com.alicloud.openservices.tablestore.core.protocol.Query filter = 5; |
int |
hashCode() |
boolean |
hasMinScore()
optional float min_score = 7; |
boolean |
hasNumCandidates()
optional int32 num_candidates = 8; |
boolean |
hasTopK()
optional int32 top_k = 2; |
boolean |
hasWeight()
optional float weight = 6; |
protected com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Search.KnnVectorQuery.Builder |
newBuilder() |
static Search.KnnVectorQuery.Builder |
newBuilder(Search.KnnVectorQuery prototype) |
Search.KnnVectorQuery.Builder |
newBuilderForType() |
protected Search.KnnVectorQuery.Builder |
newBuilderForType(com.aliyun.ots.thirdparty.com.google.protobuf.AbstractMessage.BuilderParent parent) |
static Search.KnnVectorQuery |
parseDelimitedFrom(InputStream input) |
static Search.KnnVectorQuery |
parseDelimitedFrom(InputStream input,
com.aliyun.ots.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Search.KnnVectorQuery |
parseFrom(byte[] data) |
static Search.KnnVectorQuery |
parseFrom(byte[] data,
com.aliyun.ots.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Search.KnnVectorQuery |
parseFrom(ByteBuffer data) |
static Search.KnnVectorQuery |
parseFrom(ByteBuffer data,
com.aliyun.ots.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Search.KnnVectorQuery |
parseFrom(com.aliyun.ots.thirdparty.com.google.protobuf.ByteString data) |
static Search.KnnVectorQuery |
parseFrom(com.aliyun.ots.thirdparty.com.google.protobuf.ByteString data,
com.aliyun.ots.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Search.KnnVectorQuery |
parseFrom(com.aliyun.ots.thirdparty.com.google.protobuf.CodedInputStream input) |
static Search.KnnVectorQuery |
parseFrom(com.aliyun.ots.thirdparty.com.google.protobuf.CodedInputStream input,
com.aliyun.ots.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Search.KnnVectorQuery |
parseFrom(InputStream input) |
static Search.KnnVectorQuery |
parseFrom(InputStream input,
com.aliyun.ots.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.aliyun.ots.thirdparty.com.google.protobuf.Parser<Search.KnnVectorQuery> |
parser() |
Search.KnnVectorQuery.Builder |
toBuilder() |
void |
writeTo(com.aliyun.ots.thirdparty.com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int FIELD_NAME_FIELD_NUMBER
public static final int TOP_K_FIELD_NUMBER
public static final int FLOAT32_QUERY_VECTOR_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
public static final int WEIGHT_FIELD_NUMBER
public static final int MIN_SCORE_FIELD_NUMBER
public static final int NUM_CANDIDATES_FIELD_NUMBER
public static final com.aliyun.ots.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessagepublic boolean hasFieldName()
optional string field_name = 1;hasFieldName 在接口中 Search.KnnVectorQueryOrBuilderpublic String getFieldName()
optional string field_name = 1;getFieldName 在接口中 Search.KnnVectorQueryOrBuilderpublic com.aliyun.ots.thirdparty.com.google.protobuf.ByteString getFieldNameBytes()
optional string field_name = 1;getFieldNameBytes 在接口中 Search.KnnVectorQueryOrBuilderpublic boolean hasTopK()
optional int32 top_k = 2;hasTopK 在接口中 Search.KnnVectorQueryOrBuilderpublic int getTopK()
optional int32 top_k = 2;getTopK 在接口中 Search.KnnVectorQueryOrBuilderpublic List<Float> getFloat32QueryVectorList()
repeated float float32_query_vector = 4;getFloat32QueryVectorList 在接口中 Search.KnnVectorQueryOrBuilderpublic int getFloat32QueryVectorCount()
repeated float float32_query_vector = 4;getFloat32QueryVectorCount 在接口中 Search.KnnVectorQueryOrBuilderpublic float getFloat32QueryVector(int index)
repeated float float32_query_vector = 4;getFloat32QueryVector 在接口中 Search.KnnVectorQueryOrBuilderindex - The index of the element to return.public boolean hasFilter()
optional .com.alicloud.openservices.tablestore.core.protocol.Query filter = 5;hasFilter 在接口中 Search.KnnVectorQueryOrBuilderpublic Search.Query getFilter()
optional .com.alicloud.openservices.tablestore.core.protocol.Query filter = 5;getFilter 在接口中 Search.KnnVectorQueryOrBuilderpublic Search.QueryOrBuilder getFilterOrBuilder()
optional .com.alicloud.openservices.tablestore.core.protocol.Query filter = 5;public boolean hasWeight()
optional float weight = 6;hasWeight 在接口中 Search.KnnVectorQueryOrBuilderpublic float getWeight()
optional float weight = 6;getWeight 在接口中 Search.KnnVectorQueryOrBuilderpublic boolean hasMinScore()
optional float min_score = 7;hasMinScore 在接口中 Search.KnnVectorQueryOrBuilderpublic float getMinScore()
optional float min_score = 7;getMinScore 在接口中 Search.KnnVectorQueryOrBuilderpublic boolean hasNumCandidates()
optional int32 num_candidates = 8;hasNumCandidates 在接口中 Search.KnnVectorQueryOrBuilderpublic int getNumCandidates()
optional int32 num_candidates = 8;getNumCandidates 在接口中 Search.KnnVectorQueryOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessagepublic void writeTo(com.aliyun.ots.thirdparty.com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessageLitewriteTo 在类中 com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessageLitegetSerializedSize 在类中 com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessagepublic boolean equals(Object obj)
equals 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.Messageequals 在类中 com.aliyun.ots.thirdparty.com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessagehashCode 在类中 com.aliyun.ots.thirdparty.com.google.protobuf.AbstractMessagepublic static Search.KnnVectorQuery parseFrom(ByteBuffer data) throws com.aliyun.ots.thirdparty.com.google.protobuf.InvalidProtocolBufferException
com.aliyun.ots.thirdparty.com.google.protobuf.InvalidProtocolBufferExceptionpublic static Search.KnnVectorQuery parseFrom(ByteBuffer data, com.aliyun.ots.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.aliyun.ots.thirdparty.com.google.protobuf.InvalidProtocolBufferException
com.aliyun.ots.thirdparty.com.google.protobuf.InvalidProtocolBufferExceptionpublic static Search.KnnVectorQuery parseFrom(com.aliyun.ots.thirdparty.com.google.protobuf.ByteString data) throws com.aliyun.ots.thirdparty.com.google.protobuf.InvalidProtocolBufferException
com.aliyun.ots.thirdparty.com.google.protobuf.InvalidProtocolBufferExceptionpublic static Search.KnnVectorQuery parseFrom(com.aliyun.ots.thirdparty.com.google.protobuf.ByteString data, com.aliyun.ots.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.aliyun.ots.thirdparty.com.google.protobuf.InvalidProtocolBufferException
com.aliyun.ots.thirdparty.com.google.protobuf.InvalidProtocolBufferExceptionpublic static Search.KnnVectorQuery parseFrom(byte[] data) throws com.aliyun.ots.thirdparty.com.google.protobuf.InvalidProtocolBufferException
com.aliyun.ots.thirdparty.com.google.protobuf.InvalidProtocolBufferExceptionpublic static Search.KnnVectorQuery parseFrom(byte[] data, com.aliyun.ots.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.aliyun.ots.thirdparty.com.google.protobuf.InvalidProtocolBufferException
com.aliyun.ots.thirdparty.com.google.protobuf.InvalidProtocolBufferExceptionpublic static Search.KnnVectorQuery parseFrom(InputStream input) throws IOException
IOExceptionpublic static Search.KnnVectorQuery parseFrom(InputStream input, com.aliyun.ots.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Search.KnnVectorQuery parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Search.KnnVectorQuery parseDelimitedFrom(InputStream input, com.aliyun.ots.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Search.KnnVectorQuery parseFrom(com.aliyun.ots.thirdparty.com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Search.KnnVectorQuery parseFrom(com.aliyun.ots.thirdparty.com.google.protobuf.CodedInputStream input, com.aliyun.ots.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Search.KnnVectorQuery.Builder newBuilderForType()
newBuilderForType 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessagenewBuilderForType 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessageLitepublic static Search.KnnVectorQuery.Builder newBuilder()
public static Search.KnnVectorQuery.Builder newBuilder(Search.KnnVectorQuery prototype)
public Search.KnnVectorQuery.Builder toBuilder()
toBuilder 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessagetoBuilder 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessageLiteprotected Search.KnnVectorQuery.Builder newBuilderForType(com.aliyun.ots.thirdparty.com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType 在类中 com.aliyun.ots.thirdparty.com.google.protobuf.AbstractMessagepublic static Search.KnnVectorQuery getDefaultInstance()
public static com.aliyun.ots.thirdparty.com.google.protobuf.Parser<Search.KnnVectorQuery> parser()
public com.aliyun.ots.thirdparty.com.google.protobuf.Parser<Search.KnnVectorQuery> getParserForType()
getParserForType 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessagegetParserForType 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessageLitegetParserForType 在类中 com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessagepublic Search.KnnVectorQuery getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessageOrBuilderCopyright © 2025. All Rights Reserved.