Module dev.metaschema.core
Interface IKeySpecifier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A common interface for all key specifier implementations.
-
Method Summary
Modifier and TypeMethodDescriptionStream<? extends ICollectionValue>lookup(IItem targetItem, DynamicContext dynamicContext, ISequence<?> focus) Perform a lookup on the provided target item.
-
Method Details
-
lookup
Stream<? extends ICollectionValue> lookup(@NonNull IItem targetItem, @NonNull DynamicContext dynamicContext, @NonNull ISequence<?> focus) Perform a lookup on the provided target item.- Parameters:
targetItem- the item to querydynamicContext- the dynamic context to use for expression evaluationfocus- the focus item for expression evaluation- Returns:
- a stream of collection values matching this key specifier
-