public final class Projections extends Object
Projection instances. | Modifier and Type | Method and Description | 
|---|---|
| static <I> Projection<I,Object[]> | multiAttribute(String... attributePath)Returns a projection that extracts the value of the given attributePaths. | 
| static <I,O> Projection<I,O> | singleAttribute(String attributePath)Returns a projection that extracts the value of the given attributePath | 
public static <I,O> Projection<I,O> singleAttribute(String attributePath)
O - Output typeattributePath - single attribute path, path must not be null or emptypublic static <I> Projection<I,Object[]> multiAttribute(String... attributePath)
attributePath - 1 to N attribute Paths, paths must not be null or emptyCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.