Interface Lookup
-
public interface Lookup
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description static Lookup
from(Function<GroupReference,Stream<PlanNode>> resolver)
static Lookup
noLookup()
A Lookup implementation that does not perform lookup.default PlanNode
resolve(PlanNode node)
Deprecated.Stream<PlanNode>
resolveGroup(PlanNode node)
Resolves nodes by materializing GroupReference nodes representing symbolic references to other nodes.
-
-
-
Method Detail
-
resolve
@Deprecated default PlanNode resolve(PlanNode node)
Deprecated.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 rejectingGroupReference
-s.
-
from
static Lookup from(Function<GroupReference,Stream<PlanNode>> resolver)
-
-