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 NumberloadValueForPassingRow(Number precedingValue, ScanningAttributeContext context) Methods inherited from class AbstractScanningLoader
carryPrecedingValueForSkippedRow, getBaseLevel, getLevelsSorted, isAboveBaseLevel, isLevelSkipped, isRowSkipped, loadValueMethods 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, preload
-
Constructor Details
-
ScanningNumberSumLoader
public ScanningNumberSumLoader(@NotNull AttributeSpec<Number> spec, AttributeSpec<Number> dependency)
-
-
Method Details
-
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:
-
loadValueForPassingRow
@Nullable protected Number loadValueForPassingRow(@Nullable Number precedingValue, ScanningAttributeContext context) - Specified by:
loadValueForPassingRowin classAbstractScanningLoader<Number>
-