public static final class VersionedRowValues.EmptyVersionedRowValues extends Object implements VersionedRowValues
VersionedRowValues.EmptyVersionedRowValuesEMPTY| Constructor and Description |
|---|
EmptyVersionedRowValues() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(Long row,
AttributeSpec<T> attribute)
Returns a value for the given row and attribute.
|
DataVersion |
getForestVersion()
Returns the version of the forest (defined by
ForestSpec), which was used to calculate the values. |
DataVersion |
getItemsVersion()
Returns the global version of items, which was current when the values were calculated.
|
AttributeTrail |
getTrail(AttributeSpec<?> attribute)
Returns an object that can be used to implement correct value invalidation, in case the value is cached.
|
@NotNull public DataVersion getForestVersion()
VersionedRowValuesReturns the version of the forest (defined by ForestSpec), which was used to calculate the values.
Forest version is important for "aggregate" and "propagate" values.
When values are requested for arbitrary forest (not defined by a ForestSpec), this method
always returns DataVersion.ZERO.
getForestVersion in interface VersionedRowValues@NotNull public DataVersion getItemsVersion()
VersionedRowValuesgetItemsVersion in interface VersionedRowValuesItemTracker@NotNull public AttributeTrail getTrail(AttributeSpec<?> attribute)
RowValuespublic <T> T get(Long row, AttributeSpec<T> attribute)
RowValuesCopyright © 2018 ALM Works. All Rights Reserved.