public class DelegatingScanningAttributeLoader<T> extends DelegatingRowAttributeLoader<T,ScanningAttributeLoader<T>> implements ScanningAttributeLoader<T>
| Constructor and Description |
|---|
DelegatingScanningAttributeLoader(ScanningAttributeLoader<T> loader) |
| Modifier and Type | Method and Description |
|---|---|
AttributeValue<T> |
loadValue(AttributeValue<T> precedingValue,
ScanningAttributeContext context)
Performs scanning loading.
|
isWholeForestDependent, preloaddelegate, getAttributeDependencies, getAttributeSpec, getCachingStrategy, getContextDependencies, getGlobalTrail, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCachingStrategyisWholeForestDependent, preloadgetAttributeDependencies, getAttributeSpec, getContextDependencies, getGlobalTrailpublic DelegatingScanningAttributeLoader(@NotNull
ScanningAttributeLoader<T> loader)
@Nullable public AttributeValue<T> loadValue(@NotNull AttributeValue<T> precedingValue, @NotNull ScanningAttributeContext context)
ScanningAttributeLoaderPerforms scanning loading. Must be a pure function - see ScanningAttributeLoader.
If the value is missing or empty, the loader should return AttributeValue.undefined(). If for some reason this loader
is not applicable for the given row, it should return null. (Note, however, that if multiple scanning loaders work on the same
attribute, it could be tricky and lead to unexpected results.)
loadValue in interface ScanningAttributeLoader<T>precedingValue - the value of this attribute for the immediately preceding row, or AttributeValue.undefined() for the very first rowcontext - loading contextCopyright © 2023 ALM Works. All Rights Reserved.