Uses of Interface
com.hazelcast.vector.VectorValues
Packages that use VectorValues
Package
Description
Vector capability
Provides Jet pipeline support for vector collections.
-
Uses of VectorValues in com.hazelcast.vector
Subinterfaces of VectorValues in com.hazelcast.vectorModifier and TypeInterfaceDescriptionstatic interfaceProvides a mapping from index name to vector, supplying vectors for aVectorCollectionwith multiple indexes defined.static interfaceRepresents values of a single vector.Methods in com.hazelcast.vector that return VectorValuesModifier and TypeMethodDescriptionSearchResult.getVectors()VectorDocument.getVectors()static VectorValuesVectorValues.of(float[] vector) Returns aVectorValuesobject suitable for supplying a single vector to aVectorCollectionconfigured with one vector index.static VectorValuesReturns aVectorValuesobject that represents a single named vector.static VectorValuesReturns aVectorValuesobject that represents two mappings of index names to associated vectors.static VectorValuesReturns aVectorValuesobject that represents the given mappings of index names to associated vectors.Methods in com.hazelcast.vector with parameters of type VectorValuesModifier and TypeMethodDescriptionstatic <T> VectorDocument<T>VectorDocument.of(T value, VectorValues vv) VectorCollection.searchAsync(VectorValues vectors, SearchOptions searchOptions) Perform asynchronously a similarity search according to the options in givensearchOptions. -
Uses of VectorValues in com.hazelcast.vector.jet
Methods in com.hazelcast.vector.jet that return types with arguments of type VectorValuesModifier and TypeMethodDescriptionstatic BatchSource<Map.Entry<Integer,VectorValues>> Creates legacy file source in fvecs format.Method parameters in com.hazelcast.vector.jet with type arguments of type VectorValuesModifier and TypeMethodDescriptionstatic <T,K, V, R> FunctionEx<StreamStage<T>, StreamStage<R>> VectorTransforms.mapUsingVectorSearch(VectorCollection<K, V> collection, SearchOptions options, FunctionEx<T, VectorValues> toVectorFn, BiFunctionEx<T, SearchResults<K, V>, R> resultFn) A stage-transforming method that adds similarity search pipeline stage for streaming pipelines.static <T,K, V, R> FunctionEx<StreamStage<T>, StreamStage<R>> VectorTransforms.mapUsingVectorSearch(String collectionName, SearchOptions options, FunctionEx<T, VectorValues> toVectorFn, BiFunctionEx<T, SearchResults<K, V>, R> resultFn) A stage-transforming method that adds similarity search pipeline stage for streaming pipelines.static <T,K, V, R> FunctionEx<BatchStage<T>, BatchStage<R>> VectorTransforms.mapUsingVectorSearchBatch(VectorCollection<K, V> collection, SearchOptions options, FunctionEx<T, VectorValues> toVectorFn, BiFunctionEx<T, SearchResults<K, V>, R> resultFn) A stage-transforming method that adds similarity search pipeline stage for batch pipelines.static <T,K, V, R> FunctionEx<BatchStage<T>, BatchStage<R>> VectorTransforms.mapUsingVectorSearchBatch(String collectionName, SearchOptions options, FunctionEx<T, VectorValues> toVectorFn, BiFunctionEx<T, SearchResults<K, V>, R> resultFn) A stage-transforming method that adds similarity search pipeline stage for batch pipelines.