public interface QueryRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Struct |
getFilter()
The filter to apply if no filter is specified in `QueryVector.
|
com.google.protobuf.StructOrBuilder |
getFilterOrBuilder()
The filter to apply if no filter is specified in `QueryVector.
|
java.lang.String |
getId()
The id of the vector
|
com.google.protobuf.ByteString |
getIdBytes()
The id of the vector
|
boolean |
getIncludeMetadata()
Indicates whether metadata is included in the response as well as the ids.
|
boolean |
getIncludeValues()
Indicates whether vector values are included in the response.
|
java.lang.String |
getNamespace()
The namespace to query.
|
com.google.protobuf.ByteString |
getNamespaceBytes()
The namespace to query.
|
QueryVector |
getQueries(int index)
The query vectors.
|
int |
getQueriesCount()
The query vectors.
|
java.util.List<QueryVector> |
getQueriesList()
The query vectors.
|
QueryVectorOrBuilder |
getQueriesOrBuilder(int index)
The query vectors.
|
java.util.List<? extends QueryVectorOrBuilder> |
getQueriesOrBuilderList()
The query vectors.
|
SparseValues |
getSparseVector()
The query sparse values.
|
SparseValuesOrBuilder |
getSparseVectorOrBuilder()
The query sparse values.
|
int |
getTopK()
The number of results to return for each query.
|
float |
getVector(int index)
The query vector.
|
int |
getVectorCount()
The query vector.
|
java.util.List<java.lang.Float> |
getVectorList()
The query vector.
|
boolean |
hasFilter()
The filter to apply if no filter is specified in `QueryVector.
|
boolean |
hasSparseVector()
The query sparse values.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofjava.lang.String getNamespace()
The namespace to query.
string namespace = 1;com.google.protobuf.ByteString getNamespaceBytes()
The namespace to query.
string namespace = 1;int getTopK()
The number of results to return for each query.
uint32 top_k = 2;boolean hasFilter()
The filter to apply if no filter is specified in `QueryVector. You can use vector metadata to limit your search. See https://www.pinecone.io/docs/metadata-filtering/`
.google.protobuf.Struct filter = 3;com.google.protobuf.Struct getFilter()
The filter to apply if no filter is specified in `QueryVector. You can use vector metadata to limit your search. See https://www.pinecone.io/docs/metadata-filtering/`
.google.protobuf.Struct filter = 3;com.google.protobuf.StructOrBuilder getFilterOrBuilder()
The filter to apply if no filter is specified in `QueryVector. You can use vector metadata to limit your search. See https://www.pinecone.io/docs/metadata-filtering/`
.google.protobuf.Struct filter = 3;boolean getIncludeValues()
Indicates whether vector values are included in the response.
bool include_values = 4;boolean getIncludeMetadata()
Indicates whether metadata is included in the response as well as the ids.
bool include_metadata = 5;java.util.List<QueryVector> getQueriesList()
The query vectors.
repeated .QueryVector queries = 6;QueryVector getQueries(int index)
The query vectors.
repeated .QueryVector queries = 6;int getQueriesCount()
The query vectors.
repeated .QueryVector queries = 6;java.util.List<? extends QueryVectorOrBuilder> getQueriesOrBuilderList()
The query vectors.
repeated .QueryVector queries = 6;QueryVectorOrBuilder getQueriesOrBuilder(int index)
The query vectors.
repeated .QueryVector queries = 6;java.util.List<java.lang.Float> getVectorList()
The query vector. This should be the same length as the dimension of the index being queried.
repeated float vector = 7;int getVectorCount()
The query vector. This should be the same length as the dimension of the index being queried.
repeated float vector = 7;float getVector(int index)
The query vector. This should be the same length as the dimension of the index being queried.
repeated float vector = 7;index - The index of the element to return.boolean hasSparseVector()
The query sparse values.
.SparseValues sparse_vector = 9;SparseValues getSparseVector()
The query sparse values.
.SparseValues sparse_vector = 9;SparseValuesOrBuilder getSparseVectorOrBuilder()
The query sparse values.
.SparseValues sparse_vector = 9;java.lang.String getId()
The id of the vector
string id = 8;com.google.protobuf.ByteString getIdBytes()
The id of the vector
string id = 8;