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
ConstructorsModifierConstructorDescriptionprotected
SingleDependencyReducingAggregateLoader
(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
loadValue
Methods inherited from class AbstractAggregateLoader
firstChildError
Methods inherited from class AbstractAttributeLoader
getAttributeSpec, toString
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface AttributeLoader
getAttributeSpec, getContextDependencies, getGlobalTrail
Methods inherited from interface MultiRowAttributeLoader
getCachingStrategy
Methods inherited from interface RowAttributeLoader
isWholeForestDependent, preload
Methods 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:
getSelfValue
in classReducingAggregateLoader<T>
-
getAttributeDependencies
Description copied from interface:AttributeLoader
Returns 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
null
if there are none - See Also:
-