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
-
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
-