public class OrderByAggregator<T> extends SpaceEntriesAggregator<OrderByAggregator.OrderByScanResult> implements SmartExternalizable
Modifier and Type | Class and Description |
---|---|
static class |
OrderByAggregator.OrderByElementComparator |
static class |
OrderByAggregator.OrderByScanResult |
Constructor and Description |
---|
OrderByAggregator() |
OrderByAggregator(int limit) |
Modifier and Type | Method and Description |
---|---|
void |
aggregate(SpaceEntriesAggregatorContext context) |
void |
aggregateIntermediateResult(OrderByAggregator.OrderByScanResult partitionResult) |
String |
getDefaultAlias() |
Collection<T> |
getFinalResult() |
OrderByAggregator.OrderByScanResult |
getIntermediateResult() |
List<OrderByPath> |
getOrderByPaths() |
OrderByAggregator |
orderBy(String path) |
OrderByAggregator |
orderBy(String path,
OrderBy orderBy) |
OrderByAggregator |
orderBy(String path,
OrderBy orderBy,
boolean nullsLast) |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
as, clone, getAlias, setRawEntryConverter, toObject
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enabledSmartExternalizableWithReference
public OrderByAggregator()
public OrderByAggregator(int limit)
public OrderByAggregator orderBy(String path, OrderBy orderBy)
public OrderByAggregator orderBy(String path)
public OrderByAggregator orderBy(String path, OrderBy orderBy, boolean nullsLast)
public List<OrderByPath> getOrderByPaths()
public String getDefaultAlias()
getDefaultAlias
in class SpaceEntriesAggregator<OrderByAggregator.OrderByScanResult>
public void aggregate(SpaceEntriesAggregatorContext context)
aggregate
in class SpaceEntriesAggregator<OrderByAggregator.OrderByScanResult>
public void aggregateIntermediateResult(OrderByAggregator.OrderByScanResult partitionResult)
aggregateIntermediateResult
in class SpaceEntriesAggregator<OrderByAggregator.OrderByScanResult>
public OrderByAggregator.OrderByScanResult getIntermediateResult()
getIntermediateResult
in class SpaceEntriesAggregator<OrderByAggregator.OrderByScanResult>
public Collection<T> getFinalResult()
getFinalResult
in class SpaceEntriesAggregator<OrderByAggregator.OrderByScanResult>
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
Copyright © GigaSpaces.