Package io.trino.sql.planner.iterative
Interface Lookup
public interface Lookup
-
Method Summary
Modifier and TypeMethodDescriptionstatic Lookupfrom(Function<GroupReference, Stream<PlanNode>> resolver) static LookupnoLookup()A Lookup implementation that does not perform lookup.default PlanNodeResolves a node by materializing GroupReference nodes representing symbolic references to other nodes.resolveGroup(PlanNode node) Resolves nodes by materializing GroupReference nodes representing symbolic references to other nodes.
-
Method Details
-
resolve
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
Resolves nodes by materializing GroupReference nodes representing symbolic references to other nodes.- Throws:
IllegalArgumentException- if the node is not a GroupReference
-
noLookup
A Lookup implementation that does not perform lookup. It satisfies contract by rejectingGroupReference-s. -
from
-