Class MaxValueAggregator<T extends Serializable & Comparable>
java.lang.Object
com.gigaspaces.query.aggregators.SpaceEntriesAggregator<T>
com.gigaspaces.query.aggregators.AbstractPathAggregator<T>
com.gigaspaces.query.aggregators.MaxValueAggregator<T>
- All Implemented Interfaces:
SmartExternalizable, Externalizable, Serializable, Cloneable
public class MaxValueAggregator<T extends Serializable & Comparable>
extends AbstractPathAggregator<T>
- Since:
- 10.0
- Author:
- Niv Ingberg
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaggregate(SpaceEntriesAggregatorContext context) voidaggregateIntermediateResult(T partitionResult) getName()getSQLQuery(String typeName) voidhandleIntermediateResultOfDbStorage(ResultSet resultSet, ITypeDesc typeDesc) voidhandleIntermediateResultOfMemoryStorage(TypeDataIndex index, TypeData entryType) booleanisIndexUsed(Map<String, SpaceIndex> indexes, boolean isMemoryScan) booleanskipFullScanSupported(Map<String, SpaceIndex> indexes, boolean isMemoryScan) booleanMethods inherited from class AbstractPathAggregator
getFunctionCallColumn, getPath, getPathValue, readExternal, setFunctionCallColumn, setPath, writeExternalMethods inherited from class SpaceEntriesAggregator
as, clone, getAlias, getFinalResult, setAggregatorContext, setRawEntryConverter, toObjectMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
MaxValueAggregator
public MaxValueAggregator()
-
-
Method Details
-
getDefaultAlias
- Specified by:
getDefaultAliasin classSpaceEntriesAggregator<T extends Serializable & Comparable>
-
aggregate
- Specified by:
aggregatein classSpaceEntriesAggregator<T extends Serializable & Comparable>
-
aggregateIntermediateResult
- Specified by:
aggregateIntermediateResultin classSpaceEntriesAggregator<T extends Serializable & Comparable>
-
skipProcessedUidStore
public boolean skipProcessedUidStore()- Overrides:
skipProcessedUidStorein classSpaceEntriesAggregator<T extends Serializable & Comparable>
-
getIntermediateResult
- Specified by:
getIntermediateResultin classSpaceEntriesAggregator<T extends Serializable & Comparable>
-
getName
- Specified by:
getNamein classAbstractPathAggregator<T extends Serializable & Comparable>
-
skipFullScanSupported
- Overrides:
skipFullScanSupportedin classSpaceEntriesAggregator<T extends Serializable & Comparable>
-
isIndexUsed
- Overrides:
isIndexUsedin classSpaceEntriesAggregator<T extends Serializable & Comparable>
-
handleIntermediateResultOfMemoryStorage
- Overrides:
handleIntermediateResultOfMemoryStoragein classSpaceEntriesAggregator<T extends Serializable & Comparable>
-
handleIntermediateResultOfDbStorage
public void handleIntermediateResultOfDbStorage(ResultSet resultSet, ITypeDesc typeDesc) throws SQLException - Overrides:
handleIntermediateResultOfDbStoragein classSpaceEntriesAggregator<T extends Serializable & Comparable>- Throws:
SQLException
-
getSQLQuery
- Overrides:
getSQLQueryin classSpaceEntriesAggregator<T extends Serializable & Comparable>
-