public class DistinctAggregator<T> extends SpaceEntriesAggregator<DistinctResult> implements SmartExternalizable
Constructor and Description |
---|
DistinctAggregator() |
Modifier and Type | Method and Description |
---|---|
void |
aggregate(SpaceEntriesAggregatorContext context) |
void |
aggregateIntermediateResult(DistinctResult partitionResult) |
DistinctAggregator |
distinct(boolean isGroupByAggregator,
Integer limit,
String... paths) |
DistinctAggregator |
distinct(String... paths) |
String |
getDefaultAlias() |
String[] |
getDistinctPaths() |
Collection<T> |
getFinalResult() |
DistinctResult |
getIntermediateResult() |
boolean |
isGroupByAggregator() |
void |
readExternal(ObjectInput in) |
void |
setGroupByAggregator(boolean groupByAggregator) |
void |
writeExternal(ObjectOutput out) |
as, clone, getAlias, setRawEntryConverter, toObject
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enabledSmartExternalizableWithReference
public DistinctAggregator distinct(String... paths)
public DistinctAggregator distinct(boolean isGroupByAggregator, Integer limit, String... paths)
public String getDefaultAlias()
getDefaultAlias
in class SpaceEntriesAggregator<DistinctResult>
public void aggregate(SpaceEntriesAggregatorContext context)
aggregate
in class SpaceEntriesAggregator<DistinctResult>
public void aggregateIntermediateResult(DistinctResult partitionResult)
aggregateIntermediateResult
in class SpaceEntriesAggregator<DistinctResult>
public DistinctResult getIntermediateResult()
getIntermediateResult
in class SpaceEntriesAggregator<DistinctResult>
public Collection<T> getFinalResult()
getFinalResult
in class SpaceEntriesAggregator<DistinctResult>
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public String[] getDistinctPaths()
public boolean isGroupByAggregator()
public void setGroupByAggregator(boolean groupByAggregator)
Copyright © GigaSpaces.