Key
- the input key typeValue
- the input value typeDistinctType
- the common super type for all distinct valuespublic class DistinctValuesAggregation<Key,Value,DistinctType> extends Object implements AggType<Key,Value,Integer,DistinctType,Set<DistinctType>,Set<DistinctType>,Set<DistinctType>>
Constructor and Description |
---|
DistinctValuesAggregation() |
Modifier and Type | Method and Description |
---|---|
Collator<Map.Entry<Integer,Set<DistinctType>>,Set<DistinctType>> |
getCollator() |
CombinerFactory<Integer,DistinctType,Set<DistinctType>> |
getCombinerFactory() |
Mapper<Key,Value,Integer,DistinctType> |
getMapper(Supplier<Key,Value,DistinctType> supplier) |
ReducerFactory<Integer,Set<DistinctType>,Set<DistinctType>> |
getReducerFactory() |
public Collator<Map.Entry<Integer,Set<DistinctType>>,Set<DistinctType>> getCollator()
getCollator
in interface AggType<Key,Value,Integer,DistinctType,Set<DistinctType>,Set<DistinctType>,Set<DistinctType>>
public Mapper<Key,Value,Integer,DistinctType> getMapper(Supplier<Key,Value,DistinctType> supplier)
getMapper
in interface AggType<Key,Value,Integer,DistinctType,Set<DistinctType>,Set<DistinctType>,Set<DistinctType>>
public CombinerFactory<Integer,DistinctType,Set<DistinctType>> getCombinerFactory()
getCombinerFactory
in interface AggType<Key,Value,Integer,DistinctType,Set<DistinctType>,Set<DistinctType>,Set<DistinctType>>
public ReducerFactory<Integer,Set<DistinctType>,Set<DistinctType>> getReducerFactory()
getReducerFactory
in interface AggType<Key,Value,Integer,DistinctType,Set<DistinctType>,Set<DistinctType>,Set<DistinctType>>
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.