Interface RowValues
- All Superinterfaces:
LoadedValues<Long>
An object that implements
RowValues interface is supplied as a result of attributes calculation by
StructureAttributeService. The interface allows retrieval of values by row ID and attribute specification.- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidconsume(Function<AttributeSpec<?>, BiConsumer<LongSizedIterable, LongFunction<LoadedValue<?>>>> consumer) Passes all data to the consumer.default <T> Tget(long key, AttributeSpec<T> attribute) Methods inherited from interface LoadedValues
get, getAttributeValue, getLoadedValue, isOutdated
-
Field Details
-
EMPTY
-
-
Method Details
-
consume
void consume(Function<AttributeSpec<?>, BiConsumer<LongSizedIterable, LongFunction<LoadedValue<?>>>> consumer) Passes all data to the consumer. Consumer will be called only once for each attribute spec. It can return a null or a biconsumer that will then be fed all row ids that are in use and a function to retrieve a value for each row id.- Parameters:
consumer-
-
get
-