Interface Lookup


public interface Lookup
  • Method Details

    • resolve

      default PlanNode resolve(PlanNode node)
      Resolves a node by materializing GroupReference nodes representing symbolic references to other nodes. This method is deprecated since is assumes group contains only one node.

      If the node is not a GroupReference, it returns the argument as is.

    • resolveGroup

      Stream<PlanNode> resolveGroup(PlanNode node)
      Resolves nodes by materializing GroupReference nodes representing symbolic references to other nodes.
      Throws:
      IllegalArgumentException - if the node is not a GroupReference
    • noLookup

      static Lookup noLookup()
      A Lookup implementation that does not perform lookup. It satisfies contract by rejecting GroupReference-s.
    • from

      static Lookup from(Function<GroupReference,Stream<PlanNode>> resolver)