Uses of Interface
io.trino.sql.planner.iterative.Lookup
Packages that use Lookup
Package
Description
-
Uses of Lookup in io.trino.cost
Methods in io.trino.cost with parameters of type LookupModifier and TypeMethodDescriptionAssignUniqueIdStatsRule.calculate(AssignUniqueId assignUniqueId, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) ComposableStatsCalculator.Rule.calculate(T node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) OutputStatsRule.calculate(OutputNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) SemiJoinStatsRule.calculate(SemiJoinNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) final Optional<PlanNodeStatsEstimate>SimpleStatsRule.calculate(T node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) SortStatsRule.calculate(SortNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) ValuesStatsRule.calculate(ValuesNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) ComposableStatsCalculator.calculateStats(PlanNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) StatsCalculator.calculateStats(PlanNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) Calculate stats for thenode.protected Optional<PlanNodeStatsEstimate>AggregationStatsRule.doCalculate(AggregationNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>EnforceSingleRowStatsRule.doCalculate(EnforceSingleRowNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>ExchangeStatsRule.doCalculate(ExchangeNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) FilterStatsRule.doCalculate(FilterNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>JoinStatsRule.doCalculate(JoinNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>LimitStatsRule.doCalculate(LimitNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>ProjectStatsRule.doCalculate(ProjectNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) RowNumberStatsRule.doCalculate(RowNumberNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>SampleStatsRule.doCalculate(SampleNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>SimpleFilterProjectSemiJoinStatsRule.doCalculate(FilterNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) protected abstract Optional<PlanNodeStatsEstimate>SimpleStatsRule.doCalculate(T node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>SpatialJoinStatsRule.doCalculate(SpatialJoinNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>TableScanStatsRule.doCalculate(TableScanNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types) protected Optional<PlanNodeStatsEstimate>TopNStatsRule.doCalculate(TopNNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) protected final Optional<PlanNodeStatsEstimate>UnionStatsRule.doCalculate(UnionNode node, StatsProvider statsProvider, Lookup lookup, Session session, TypeProvider types) Constructors in io.trino.cost with parameters of type LookupModifierConstructorDescriptionCachingStatsProvider(StatsCalculator statsCalculator, Optional<Memo> memo, Lookup lookup, Session session, TypeProvider types) -
Uses of Lookup in io.trino.sql.planner
Methods in io.trino.sql.planner with parameters of type LookupModifier and TypeMethodDescriptionstatic List<Expression>ExpressionExtractor.extractExpressions(PlanNode plan, Lookup lookup) SymbolsExtractor.extractOutputSymbols(PlanNode planNode, Lookup lookup) SymbolsExtractor.extractUnique(PlanNode node, Lookup lookup) -
Uses of Lookup in io.trino.sql.planner.iterative
Methods in io.trino.sql.planner.iterative that return LookupModifier and TypeMethodDescriptionstatic LookupLookup.from(Function<GroupReference, Stream<PlanNode>> resolver) Rule.Context.getLookup()static LookupLookup.noLookup()A Lookup implementation that does not perform lookup.Methods in io.trino.sql.planner.iterative with parameters of type LookupModifier and TypeMethodDescriptionstatic PlanNodePlans.resolveGroupReferences(PlanNode node, Lookup lookup) -
Uses of Lookup in io.trino.sql.planner.iterative.rule
Methods in io.trino.sql.planner.iterative.rule with parameters of type LookupModifier and TypeMethodDescriptionPushProjectionThroughJoin.pushProjectionThroughJoin(Metadata metadata, ProjectNode projectNode, Lookup lookup, PlanNodeIdAllocator planNodeIdAllocator, Session session, TypeAnalyzer typeAnalyzer, TypeProvider types) -
Uses of Lookup in io.trino.sql.planner.optimizations
Methods in io.trino.sql.planner.optimizations with parameters of type LookupModifier and TypeMethodDescriptionstatic com.google.common.collect.Range<Long>QueryCardinalityUtil.extractCardinality(PlanNode node, Lookup lookup) static booleanstatic booleanQueryCardinalityUtil.isAtLeastScalar(PlanNode node, Lookup lookup) static booleanstatic booleanQueryCardinalityUtil.isAtMostScalar(PlanNode node, Lookup lookup) static booleanstatic booleanstatic PlanNodeSearcherPlanNodeSearcher.searchFrom(PlanNode node, Lookup lookup) Use it in optimizerRuleonly if you truly do not have a better optionConstructors in io.trino.sql.planner.optimizations with parameters of type LookupModifierConstructorDescriptionPlanNodeDecorrelator(PlannerContext plannerContext, SymbolAllocator symbolAllocator, Lookup lookup) -
Uses of Lookup in io.trino.sql.planner.optimizations.joins
Methods in io.trino.sql.planner.optimizations.joins with parameters of type LookupModifier and TypeMethodDescriptionstatic JoinGraphJoinGraph.buildFrom(Metadata metadata, PlanNode plan, Lookup lookup, PlanNodeIdAllocator planNodeIdAllocator, Session session, TypeAnalyzer typeAnalyzer, TypeProvider types) BuildsJoinGraphcontainingplannode. -
Uses of Lookup in io.trino.sql.planner.plan
Methods in io.trino.sql.planner.plan that return types with arguments of type LookupModifier and TypeMethodDescriptionPatterns.Apply.correlation()static Property<CorrelatedJoinNode,Lookup, List<Symbol>> Patterns.CorrelatedJoin.correlation()Patterns.Limit.count()Patterns.TopN.count()static Property<ExceptNode,Lookup, Boolean> Patterns.Except.distinct()static Property<IntersectNode,Lookup, Boolean> Patterns.Intersect.distinct()static Property<CorrelatedJoinNode,Lookup, Expression> Patterns.CorrelatedJoin.filter()static Property<SemiJoinNode,Lookup, PlanNode> Patterns.SemiJoin.getFilteringSource()static Property<SemiJoinNode,Lookup, PlanNode> Patterns.SemiJoin.getSource()static Property<AggregationNode,Lookup, List<Symbol>> Patterns.Aggregation.groupingColumns()static Property<DistinctLimitNode,Lookup, Boolean> Patterns.DistinctLimit.isPartial()Patterns.Join.left()Patterns.Limit.requiresPreSortedInputs()Patterns.Join.right()static Property<ValuesNode,Lookup, Integer> Patterns.Values.rowCount()static Property<ValuesNode,Lookup, Optional<List<Expression>>> Patterns.Values.rows()Patterns.PatternRecognition.rowsPerMatch()static Property<SampleNode,Lookup, Double> Patterns.Sample.sampleRatio()static Property<SampleNode,Lookup, SampleNode.Type> Patterns.Sample.sampleType()static Property<ExchangeNode,Lookup, ExchangeNode.Scope> Patterns.Exchange.scope()Patterns.source()Patterns.sources()Patterns.Aggregation.step()static Property<TopNNode,Lookup, TopNNode.Step> Patterns.TopN.step()static Property<CorrelatedJoinNode,Lookup, PlanNode> Patterns.CorrelatedJoin.subquery()Patterns.CorrelatedJoin.type()static Property<JoinNode,Lookup, JoinNode.Type> Patterns.Join.type()