Uses of Interface
com.oracle.coherence.ai.Vector
Packages that use Vector
Package
Description
Contains classes for Coherence AI vector database functionality.
Contains classes for Coherence AI vector database distance algorithms.
Contains classes for Coherence AI vector database indexes.
Contains classes for Coherence AI vector database Knn search functionality.
Contains classes for Coherence AI vector database utilities.
Contains various generic utilities.
-
Uses of Vector in com.oracle.coherence.ai
Classes in com.oracle.coherence.ai that implement VectorModifier and TypeClassDescriptionfinal class
A vector of bits.final class
A vector of floats.final class
A vector of bytes.Methods in com.oracle.coherence.ai that return VectorModifier and TypeMethodDescriptionVector
<float[]> DocumentChunk.vector()
Get the float vector for this chunk.Methods in com.oracle.coherence.ai with parameters of type VectorModifier and TypeMethodDescriptiondouble
Calculate the distance between the specified vectors.Set the float vector for this chunk.Constructors in com.oracle.coherence.ai with parameters of type VectorModifierConstructorDescriptionDocumentChunk
(String text, Vector<float[]> vector) Create aDocumentChunk
.Create aDocumentChunk
. -
Uses of Vector in com.oracle.coherence.ai.distance
Methods in com.oracle.coherence.ai.distance with parameters of type Vector -
Uses of Vector in com.oracle.coherence.ai.index
Methods in com.oracle.coherence.ai.index that return VectorMethods in com.oracle.coherence.ai.index that return types with arguments of type VectorModifier and TypeMethodDescriptionBinaryQuantIndex.createIndex
(boolean b, Comparator comparator, Map<ValueExtractor<V, Vector<T>>, MapIndex> map, BackingMapContext backingMapContext) BinaryQuantIndex.destroyIndex
(Map<ValueExtractor<V, Vector<T>>, MapIndex> map) BinaryQuantIndex.BinaryQuantMapIndex.getComparator()
BinaryQuantIndex.BinaryQuantMapIndex.getIndexContents()
BinaryQuantIndex.BinaryQuantMapIndex.getValueExtractor()
Methods in com.oracle.coherence.ai.index with parameters of type VectorModifier and TypeMethodDescriptionMethod parameters in com.oracle.coherence.ai.index with type arguments of type VectorModifier and TypeMethodDescriptionBinaryQuantIndex.createIndex
(boolean b, Comparator comparator, Map<ValueExtractor<V, Vector<T>>, MapIndex> map, BackingMapContext backingMapContext) BinaryQuantIndex.destroyIndex
(Map<ValueExtractor<V, Vector<T>>, MapIndex> map) Constructor parameters in com.oracle.coherence.ai.index with type arguments of type VectorModifierConstructorDescriptionBinaryQuantIndex
(ValueExtractor<V, Vector<T>> extractor) Create aBinaryQuantIndex
. -
Uses of Vector in com.oracle.coherence.ai.search
Fields in com.oracle.coherence.ai.search declared as VectorModifier and TypeFieldDescriptionSimilaritySearch.m_vector
TheVector
to extract the vector from the entry value.Fields in com.oracle.coherence.ai.search with type parameters of type VectorModifier and TypeFieldDescriptionprotected ValueExtractor
<? super V, ? extends Vector<T>> SimilaritySearch.m_extractor
TheValueExtractor
to extract the vector from the entry value.Methods in com.oracle.coherence.ai.search that return VectorMethods in com.oracle.coherence.ai.search that return types with arguments of type VectorModifier and TypeMethodDescriptionValueExtractor
<? super V, ? extends Vector<T>> SimilaritySearch.getExtractor()
Methods in com.oracle.coherence.ai.search with parameters of type VectorModifier and TypeMethodDescriptionprotected boolean
SimilaritySearch.searchPartition
(BinaryEntry binaryEntry, Vector<T> vector) If aVectorIndex
exists for the specified partition, then use it to perform the KNN search.Constructors in com.oracle.coherence.ai.search with parameters of type VectorModifierConstructorDescriptionSimilaritySearch
(ValueExtractor<? super V, ? extends Vector<T>> extractor, Vector<T> vector, int maxResults) Create aSimilaritySearch
aggregator that will use cosine distance to calculate and return up tomaxResults
results that are closest to the specifiedvector
.Constructor parameters in com.oracle.coherence.ai.search with type arguments of type VectorModifierConstructorDescriptionSimilaritySearch
(ValueExtractor<? super V, ? extends Vector<T>> extractor, Vector<T> vector, int maxResults) Create aSimilaritySearch
aggregator that will use cosine distance to calculate and return up tomaxResults
results that are closest to the specifiedvector
. -
Uses of Vector in com.oracle.coherence.ai.util
Methods in com.oracle.coherence.ai.util with parameters of type VectorModifier and TypeMethodDescriptionstatic int
Vectors.hammingDistance
(Vector<BitSet> x, Vector<BitSet> y) Calculate the hamming distance between two bit vectors. -
Uses of Vector in com.tangosol.util
Methods in com.tangosol.util with parameters of type VectorModifier and TypeMethodDescriptionstatic <K,
V, T> SimilaritySearch <K, V, T> Aggregators.similaritySearch
(ValueExtractor<? super V, ? extends Vector<T>> extractor, Vector<T> vector, int maxResults) Return aSimilaritySearch
aggregator that will use cosine distance to calculate and return up tomaxResults
results that are closest to the specifiedvector
.Method parameters in com.tangosol.util with type arguments of type VectorModifier and TypeMethodDescriptionstatic <K,
V, T> SimilaritySearch <K, V, T> Aggregators.similaritySearch
(ValueExtractor<? super V, ? extends Vector<T>> extractor, Vector<T> vector, int maxResults) Return aSimilaritySearch
aggregator that will use cosine distance to calculate and return up tomaxResults
results that are closest to the specifiedvector
.