public interface DocOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsFields(String key)
map<string, .proxima.dashvector.proto.FieldValue> fields = 3; |
boolean |
containsSparseVector(int key)
optional
map<uint32, float> sparse_vector = 5; |
boolean |
containsSparseVectors(String key)
map<string, .proxima.dashvector.proto.SparseVector> sparse_vectors = 7; |
boolean |
containsVectors(String key)
1.
|
Map<String,FieldValue> |
getFields()
已过时。
|
int |
getFieldsCount()
map<string, .proxima.dashvector.proto.FieldValue> fields = 3; |
Map<String,FieldValue> |
getFieldsMap()
map<string, .proxima.dashvector.proto.FieldValue> fields = 3; |
FieldValue |
getFieldsOrDefault(String key,
FieldValue defaultValue)
map<string, .proxima.dashvector.proto.FieldValue> fields = 3; |
FieldValue |
getFieldsOrThrow(String key)
map<string, .proxima.dashvector.proto.FieldValue> fields = 3; |
String |
getId()
string id = 1; |
com.google.protobuf.ByteString |
getIdBytes()
string id = 1; |
float |
getScore()
float score = 4; |
Map<Integer,Float> |
getSparseVector()
已过时。
|
int |
getSparseVectorCount()
optional
map<uint32, float> sparse_vector = 5; |
Map<Integer,Float> |
getSparseVectorMap()
optional
map<uint32, float> sparse_vector = 5; |
float |
getSparseVectorOrDefault(int key,
float defaultValue)
optional
map<uint32, float> sparse_vector = 5; |
float |
getSparseVectorOrThrow(int key)
optional
map<uint32, float> sparse_vector = 5; |
Map<String,SparseVector> |
getSparseVectors()
已过时。
|
int |
getSparseVectorsCount()
map<string, .proxima.dashvector.proto.SparseVector> sparse_vectors = 7; |
Map<String,SparseVector> |
getSparseVectorsMap()
map<string, .proxima.dashvector.proto.SparseVector> sparse_vectors = 7; |
SparseVector |
getSparseVectorsOrDefault(String key,
SparseVector defaultValue)
map<string, .proxima.dashvector.proto.SparseVector> sparse_vectors = 7; |
SparseVector |
getSparseVectorsOrThrow(String key)
map<string, .proxima.dashvector.proto.SparseVector> sparse_vectors = 7; |
Vector |
getVector()
.proxima.dashvector.proto.Vector vector = 2; |
VectorOrBuilder |
getVectorOrBuilder()
.proxima.dashvector.proto.Vector vector = 2; |
Map<String,Vector> |
getVectors()
已过时。
|
int |
getVectorsCount()
1.
|
Map<String,Vector> |
getVectorsMap()
1.
|
Vector |
getVectorsOrDefault(String key,
Vector defaultValue)
1.
|
Vector |
getVectorsOrThrow(String key)
1.
|
boolean |
hasVector()
.proxima.dashvector.proto.Vector vector = 2; |
String getId()
string id = 1;com.google.protobuf.ByteString getIdBytes()
string id = 1;boolean hasVector()
.proxima.dashvector.proto.Vector vector = 2;Vector getVector()
.proxima.dashvector.proto.Vector vector = 2;VectorOrBuilder getVectorOrBuilder()
.proxima.dashvector.proto.Vector vector = 2;int getVectorsCount()
1. For write requests, vector will be ignored if vectors is set
2. For fetch or query(include_vector=True) responses,
* only vector is set if there is only one vector with name `proxima_vector` to save space
* only vectors are set otherwise
map<string, .proxima.dashvector.proto.Vector> vectors = 6;boolean containsVectors(String key)
1. For write requests, vector will be ignored if vectors is set
2. For fetch or query(include_vector=True) responses,
* only vector is set if there is only one vector with name `proxima_vector` to save space
* only vectors are set otherwise
map<string, .proxima.dashvector.proto.Vector> vectors = 6;@Deprecated Map<String,Vector> getVectors()
getVectorsMap() instead.Map<String,Vector> getVectorsMap()
1. For write requests, vector will be ignored if vectors is set
2. For fetch or query(include_vector=True) responses,
* only vector is set if there is only one vector with name `proxima_vector` to save space
* only vectors are set otherwise
map<string, .proxima.dashvector.proto.Vector> vectors = 6;Vector getVectorsOrDefault(String key, Vector defaultValue)
1. For write requests, vector will be ignored if vectors is set
2. For fetch or query(include_vector=True) responses,
* only vector is set if there is only one vector with name `proxima_vector` to save space
* only vectors are set otherwise
map<string, .proxima.dashvector.proto.Vector> vectors = 6;Vector getVectorsOrThrow(String key)
1. For write requests, vector will be ignored if vectors is set
2. For fetch or query(include_vector=True) responses,
* only vector is set if there is only one vector with name `proxima_vector` to save space
* only vectors are set otherwise
map<string, .proxima.dashvector.proto.Vector> vectors = 6;int getSparseVectorsCount()
map<string, .proxima.dashvector.proto.SparseVector> sparse_vectors = 7;boolean containsSparseVectors(String key)
map<string, .proxima.dashvector.proto.SparseVector> sparse_vectors = 7;@Deprecated Map<String,SparseVector> getSparseVectors()
getSparseVectorsMap() instead.Map<String,SparseVector> getSparseVectorsMap()
map<string, .proxima.dashvector.proto.SparseVector> sparse_vectors = 7;SparseVector getSparseVectorsOrDefault(String key, SparseVector defaultValue)
map<string, .proxima.dashvector.proto.SparseVector> sparse_vectors = 7;SparseVector getSparseVectorsOrThrow(String key)
map<string, .proxima.dashvector.proto.SparseVector> sparse_vectors = 7;int getFieldsCount()
map<string, .proxima.dashvector.proto.FieldValue> fields = 3;boolean containsFields(String key)
map<string, .proxima.dashvector.proto.FieldValue> fields = 3;@Deprecated Map<String,FieldValue> getFields()
getFieldsMap() instead.Map<String,FieldValue> getFieldsMap()
map<string, .proxima.dashvector.proto.FieldValue> fields = 3;FieldValue getFieldsOrDefault(String key, FieldValue defaultValue)
map<string, .proxima.dashvector.proto.FieldValue> fields = 3;FieldValue getFieldsOrThrow(String key)
map<string, .proxima.dashvector.proto.FieldValue> fields = 3;float getScore()
float score = 4;int getSparseVectorCount()
optional
map<uint32, float> sparse_vector = 5;boolean containsSparseVector(int key)
optional
map<uint32, float> sparse_vector = 5;@Deprecated Map<Integer,Float> getSparseVector()
getSparseVectorMap() instead.Map<Integer,Float> getSparseVectorMap()
optional
map<uint32, float> sparse_vector = 5;float getSparseVectorOrDefault(int key,
float defaultValue)
optional
map<uint32, float> sparse_vector = 5;float getSparseVectorOrThrow(int key)
optional
map<uint32, float> sparse_vector = 5;Copyright © 2026. All rights reserved.