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 VectorCollection
    Modifier and Type
    Method
    Description
    static <K, V> VectorCollection<K,V>
    VectorCollection.getCollection(com.hazelcast.core.HazelcastInstance instance, com.hazelcast.config.vector.VectorCollectionConfig collectionConfig)
     
    static <K, V> VectorCollection<K,V>
    VectorCollection.getCollection(com.hazelcast.core.HazelcastInstance instance, String name)
     
  • Uses of VectorCollection in com.hazelcast.vector.jet

    Methods in com.hazelcast.vector.jet with parameters of type VectorCollection
    Modifier and Type
    Method
    Description
    static <T, K, V, R> com.hazelcast.function.FunctionEx<com.hazelcast.jet.pipeline.StreamStage<T>,com.hazelcast.jet.pipeline.StreamStage<R>>
    VectorTransforms.mapUsingVectorSearch(VectorCollection<K,V> collection, com.hazelcast.vector.SearchOptions options, com.hazelcast.function.FunctionEx<T,com.hazelcast.vector.VectorValues> toVectorFn, com.hazelcast.function.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> com.hazelcast.function.FunctionEx<com.hazelcast.jet.pipeline.BatchStage<T>,com.hazelcast.jet.pipeline.BatchStage<R>>
    VectorTransforms.mapUsingVectorSearchBatch(VectorCollection<K,V> collection, com.hazelcast.vector.SearchOptions options, com.hazelcast.function.FunctionEx<T,com.hazelcast.vector.VectorValues> toVectorFn, com.hazelcast.function.BiFunctionEx<T,SearchResults<K,V>,R> resultFn)
    A stage-transforming method that adds similarity search pipeline stage for batch pipelines.
    static <T, K, V> com.hazelcast.jet.pipeline.Sink<T>
    VectorSinks.vectorCollection(VectorCollection<K,V> collection, com.hazelcast.function.FunctionEx<? super T,? extends K> toKeyFn, com.hazelcast.function.FunctionEx<? super T,? extends V> toValueFn, com.hazelcast.function.FunctionEx<? super T,com.hazelcast.vector.VectorValues> toVectorsFn)
    Returns a sink that writes vector documents with metadata and vector values to a vector collection.
    static <T, K, V> com.hazelcast.jet.pipeline.Sink<T>
    VectorSinks.vectorCollection(VectorCollection<K,V> collection, com.hazelcast.function.FunctionEx<? super T,? extends K> toKeyFn, com.hazelcast.function.FunctionEx<? super T,com.hazelcast.vector.VectorDocument<? extends V>> toDocumentFn)
    Returns a sink that writes vector documents with metadata and vector values to a vector collection.