public interface QueryVectorOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Struct |
getFilter()
An override for the metadata filter to apply.
|
com.google.protobuf.StructOrBuilder |
getFilterOrBuilder()
An override for the metadata filter to apply.
|
java.lang.String |
getNamespace()
An override the namespace to search.
|
com.google.protobuf.ByteString |
getNamespaceBytes()
An override the namespace to search.
|
SparseValues |
getSparseValues()
The query sparse values.
|
SparseValuesOrBuilder |
getSparseValuesOrBuilder()
The query sparse values.
|
int |
getTopK()
An override for the number of results to return for this query vector.
|
float |
getValues(int index)
The query vector values.
|
int |
getValuesCount()
The query vector values.
|
java.util.List<java.lang.Float> |
getValuesList()
The query vector values.
|
boolean |
hasFilter()
An override for the metadata filter to apply.
|
boolean |
hasSparseValues()
The query sparse values.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofjava.util.List<java.lang.Float> getValuesList()
The query vector values. This should be the same length as the dimension of the index being queried.
repeated float values = 1;int getValuesCount()
The query vector values. This should be the same length as the dimension of the index being queried.
repeated float values = 1;float getValues(int index)
The query vector values. This should be the same length as the dimension of the index being queried.
repeated float values = 1;index - The index of the element to return.boolean hasSparseValues()
The query sparse values.
.SparseValues sparse_values = 5;SparseValues getSparseValues()
The query sparse values.
.SparseValues sparse_values = 5;SparseValuesOrBuilder getSparseValuesOrBuilder()
The query sparse values.
.SparseValues sparse_values = 5;int getTopK()
An override for the number of results to return for this query vector.
uint32 top_k = 2;java.lang.String getNamespace()
An override the namespace to search.
string namespace = 3;com.google.protobuf.ByteString getNamespaceBytes()
An override the namespace to search.
string namespace = 3;boolean hasFilter()
An override for the metadata filter to apply. This replaces the request-level filter.
.google.protobuf.Struct filter = 4;com.google.protobuf.Struct getFilter()
An override for the metadata filter to apply. This replaces the request-level filter.
.google.protobuf.Struct filter = 4;com.google.protobuf.StructOrBuilder getFilterOrBuilder()
An override for the metadata filter to apply. This replaces the request-level filter.
.google.protobuf.Struct filter = 4;