Uses of Interface
com.hazelcast.vector.VectorCollection
Packages that use VectorCollection
Package
Description
Vector capability
Provides Jet pipeline support for vector collections.
-
Uses of VectorCollection in com.hazelcast.vector
Methods in com.hazelcast.vector that return VectorCollectionModifier and TypeMethodDescriptionstatic <K,V> VectorCollection<K, V> VectorCollection.getCollection(HazelcastInstance instance, VectorCollectionConfig collectionConfig) static <K,V> VectorCollection<K, V> VectorCollection.getCollection(HazelcastInstance instance, String name) -
Uses of VectorCollection in com.hazelcast.vector.jet
Methods in com.hazelcast.vector.jet with parameters of type VectorCollectionModifier 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<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> Sink<T> VectorSinks.vectorCollection(VectorCollection<K, V> collection, FunctionEx<? super T, ? extends K> toKeyFn, FunctionEx<? super T, ? extends V> toValueFn, FunctionEx<? super T, VectorValues> toVectorsFn) Returns a sink that writes vector documents with metadata and vector values to a vector collection.static <T,K, V> Sink<T> VectorSinks.vectorCollection(VectorCollection<K, V> collection, FunctionEx<? super T, ? extends K> toKeyFn, FunctionEx<? super T, VectorDocument<? extends V>> toDocumentFn) Returns a sink that writes vector documents with metadata and vector values to a vector collection.