Class SingleDependencyReducingAggregateLoader<T>
Object
AbstractAttributeLoader<T>
AbstractAggregateLoader<T>
ReducingAggregateLoader<T>
SingleDependencyReducingAggregateLoader<T>
- All Implemented Interfaces:
AggregateAttributeLoader<T>,AttributeLoader<T>,MultiRowAttributeLoader<T>,ValueReducer<T>,RowAttributeLoader<T>
- Direct Known Subclasses:
LongSumLoader,NumberSumLoader
-
Field Summary
FieldsFields inherited from class AbstractAttributeLoader
mySpec -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSingleDependencyReducingAggregateLoader(AttributeSpec<T> spec, AttributeSpec<T> dependency) -
Method Summary
Modifier and TypeMethodDescriptionSet<AttributeSpec<?>>Returns attributes that need to be loaded prior to calling this loader's loading function.protected AttributeValue<T>getSelfValue(AggregateAttributeContext context) Methods inherited from class ReducingAggregateLoader
loadValueMethods inherited from class AbstractAggregateLoader
firstChildErrorMethods inherited from class AbstractAttributeLoader
getAttributeSpec, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface AttributeLoader
getAttributeSpec, getContextDependencies, getGlobalTrailMethods inherited from interface MultiRowAttributeLoader
getCachingStrategyMethods inherited from interface RowAttributeLoader
isWholeForestDependent, preloadMethods inherited from interface ValueReducer
convert, merge, merge, reduce
-
Field Details
-
myDependency
-
-
Constructor Details
-
SingleDependencyReducingAggregateLoader
protected SingleDependencyReducingAggregateLoader(AttributeSpec<T> spec, @NotNull AttributeSpec<T> dependency)
-
-
Method Details
-
getSelfValue
- Specified by:
getSelfValuein classReducingAggregateLoader<T>
-
getAttributeDependencies
Description copied from interface:AttributeLoaderReturns attributes that need to be loaded prior to calling this loader's loading function.
The returned value must be the same throughout the lifetime of the object.
- Returns:
- the set of attribute dependencies, or
nullif there are none - See Also:
-