Class ScanningNumberSumLoader
- All Implemented Interfaces:
AttributeLoader<Number>
,MultiRowAttributeLoader<Number>
,RowAttributeLoader<Number>
,ScanningAttributeLoader<Number>
-
Field Summary
Fields inherited from class AbstractAttributeLoader
mySpec
-
Constructor Summary
ConstructorsConstructorDescriptionScanningNumberSumLoader
(AttributeSpec<Number> spec, AttributeSpec<Number> dependency) -
Method Summary
Modifier and TypeMethodDescriptionSet<AttributeSpec<?>>
Returns attributes that need to be loaded prior to calling this loader's loading function.protected Number
loadValueForPassingRow
(Number precedingValue, ScanningAttributeContext context) Methods inherited from class AbstractScanningLoader
carryPrecedingValueForSkippedRow, getBaseLevel, getLevelsSorted, isAboveBaseLevel, isLevelSkipped, isRowSkipped, loadValue
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
-
Constructor Details
-
ScanningNumberSumLoader
public ScanningNumberSumLoader(@NotNull AttributeSpec<Number> spec, AttributeSpec<Number> dependency)
-
-
Method Details
-
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:
-
loadValueForPassingRow
@Nullable protected Number loadValueForPassingRow(@Nullable Number precedingValue, ScanningAttributeContext context) - Specified by:
loadValueForPassingRow
in classAbstractScanningLoader<Number>
-