KeyIn - the input key typeValueIn - the input value typeValueOut - the output value typepublic class AcceptAllSupplier<KeyIn,ValueIn,ValueOut> extends Supplier<KeyIn,ValueIn,ValueOut> implements IdentifiedDataSerializable
Supplier
 interface which accepts all input values and may apply a given
 PropertyExtractor on those.| Constructor and Description | 
|---|
AcceptAllSupplier(PropertyExtractor<ValueIn,ValueOut> propertyExtractor)  | 
| Modifier and Type | Method and Description | 
|---|---|
ValueOut | 
apply(Map.Entry<KeyIn,ValueIn> entry)
The apply method is used to apply the actual filtering or extraction / transformation
 to the input entry. 
If the input value should be ignored by the aggregation, the Supplier has to return  | 
int | 
getFactoryId()
Returns DataSerializableFactory factory id for this class. 
 | 
int | 
getId()
Returns type identifier for this class. 
 | 
void | 
readData(ObjectDataInput in)
Reads fields from the input stream 
 | 
void | 
writeData(ObjectDataOutput out)
Writes object fields to output stream 
 | 
all, all, fromKeyPredicate, fromKeyPredicate, fromPredicate, fromPredicatepublic AcceptAllSupplier(PropertyExtractor<ValueIn,ValueOut> propertyExtractor)
public ValueOut apply(Map.Entry<KeyIn,ValueIn> entry)
Suppliernullas the supplied value, therefor
nullis not a legal value itself!
public int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablepublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionpublic void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.