public class DistinctAggregator<T> extends SpaceEntriesAggregator<DistinctResult> implements Externalizable
| Constructor and Description |
|---|
DistinctAggregator() |
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(SpaceEntriesAggregatorContext context) |
void |
aggregateIntermediateResult(DistinctResult partitionResult) |
DistinctAggregator |
distinct(Integer limit,
String... paths) |
DistinctAggregator |
distinct(String... paths) |
String |
getDefaultAlias() |
Collection<T> |
getFinalResult() |
DistinctResult |
getIntermediateResult() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
as, clone, getAlias, setRawEntryConverter, toObjectpublic DistinctAggregator distinct(String... paths)
public DistinctAggregator distinct(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 ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © GigaSpaces.