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.

@FunctionalInterface public interface IKeySpecifier
A common interface for all key specifier implementations.
  • 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 query
      dynamicContext - the dynamic context to use for expression evaluation
      focus - the focus item for expression evaluation
      Returns:
      a stream of collection values matching this key specifier