Uses of Interface
com.hazelcast.projection.Projection
Package | Description |
---|---|
com.hazelcast.jet.core.processor |
Contains static utility classes with factories of Jet processors.
|
com.hazelcast.jet.pipeline |
The Pipeline API is Jet's high-level API to build and execute
distributed computation jobs.
|
com.hazelcast.map |
Contains Hazelcast map module classes.
|
com.hazelcast.projection |
Contains classes related to projections.
|
-
Uses of Projection in com.hazelcast.jet.core.processor
Methods in com.hazelcast.jet.core.processor with parameters of type Projection Modifier and Type Method Description static <T, K, V> ProcessorMetaSupplier
SourceProcessors. readMapP(String mapName, Predicate<K,V> predicate, Projection<? super Map.Entry<K,V>,? extends T> projection)
Returns a supplier of processors forSources.map(String, Predicate, Projection)
.static <T, K, V> ProcessorSupplier
SourceProcessors. readRemoteMapP(String mapName, ClientConfig clientConfig, Predicate<K,V> predicate, Projection<? super Map.Entry<K,V>,? extends T> projection)
Returns a supplier of processors forSources.remoteMap(String, ClientConfig, Predicate, Projection)
. -
Uses of Projection in com.hazelcast.jet.pipeline
Methods in com.hazelcast.jet.pipeline with parameters of type Projection Modifier and Type Method Description static <T, K, V> BatchSource<T>
Sources. map(IMap<? extends K,? extends V> map, Predicate<K,V> predicate, Projection<? super Map.Entry<K,V>,? extends T> projection)
Returns a source that fetches entries from the given HazelcastIMap
.static <T, K, V> BatchSource<T>
Sources. map(String mapName, Predicate<K,V> predicate, Projection<? super Map.Entry<K,V>,? extends T> projection)
Returns a source that fetches entries from a local HazelcastIMap
with the specified name.static <T, K, V> BatchSource<T>
Sources. remoteMap(String mapName, ClientConfig clientConfig, Predicate<K,V> predicate, Projection<? super Map.Entry<K,V>,? extends T> projection)
Returns a source that fetches entries from a remote HazelcastIMap
with the specified name in a remote cluster identified by the suppliedClientConfig
. -
Uses of Projection in com.hazelcast.map
Methods in com.hazelcast.map with parameters of type Projection Modifier and Type Method Description <R> Collection<R>
IMap. project(Projection<? super Map.Entry<K,V>,R> projection)
Applies the projection logic on all map entries and returns the result<R> Collection<R>
IMap. project(Projection<? super Map.Entry<K,V>,R> projection, Predicate<K,V> predicate)
Applies the projection logic on map entries filtered with the Predicated and returns the result -
Uses of Projection in com.hazelcast.projection
Methods in com.hazelcast.projection that return Projection Modifier and Type Method Description static <T> Projection<T,T>
Projections. identity()
Returns a projection that does no transformation.static <I> Projection<I,Object[]>
Projections. multiAttribute(String... attributePaths)
Returns a projection that extracts the value of the givenattributePaths
.static <I, O> Projection<I,O>
Projections. singleAttribute(String attributePath)
Returns a projection that extracts the value of the givenattributePath
.