Class AbstractPathAggregator<T extends Serializable>
java.lang.Object
com.gigaspaces.query.aggregators.SpaceEntriesAggregator<T>
com.gigaspaces.query.aggregators.AbstractPathAggregator<T>
- All Implemented Interfaces:
SmartExternalizable, Externalizable, Serializable, Cloneable
- Direct Known Subclasses:
AverageAggregator, CountAggregator, MaxEntryAggregator, MaxValueAggregator, MinEntryAggregator, MinValueAggregator, SingleValueAggregator, SingleValueFunctionAggregator, SumAggregator, SumScalarValueAggregator, SumZeroAggregator, SumZeroScalarValueAggregator
public abstract class AbstractPathAggregator<T extends Serializable>
extends SpaceEntriesAggregator<T>
implements SmartExternalizable
- Since:
- 10.0
- Author:
- Niv Ingberg
- See Also:
-
Field Summary
Fields inherited from class SpaceEntriesAggregator
NO_PATHS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final String[]This aggregator's path as a declaration forSpaceEntriesAggregator.getAggregatedPaths(), for the subclasses whoseaggregateisgetPathValue(SpaceEntriesAggregatorContext)and arithmetic.abstract StringgetName()getPath()protected ObjectvoidsetFunctionCallColumn(FunctionCallColumn functionCallColumn) voidMethods inherited from class SpaceEntriesAggregator
aggregate, aggregateIntermediateResult, as, clone, getAggregatedPaths, getAlias, getDefaultAlias, getFinalResult, getIntermediateResult, getSQLQuery, handleIntermediateResultOfDbStorage, handleIntermediateResultOfMemoryStorage, isIndexUsed, maskPii, setAggregatorContext, setRawEntryConverter, skipFullScanSupported, skipProcessedUidStore, toObjectMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
AbstractPathAggregator
public AbstractPathAggregator()
-
-
Method Details
-
getPath
-
setPath
-
getFunctionCallColumn
-
setFunctionCallColumn
-
getPathValue
-
declaredPath
This aggregator's path as a declaration forSpaceEntriesAggregator.getAggregatedPaths(), for the subclasses whoseaggregateisgetPathValue(SpaceEntriesAggregatorContext)and arithmetic.A function column is not declarable:
getPath()then answers with the function's alias while the value still comes frompath, so a declaration built from either would describe the aggregator wrongly. A null path belongs to an aggregator that reads no value at all, such ascount(*), and declares no paths rather than none being resolvable. -
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
getName
-