Uses of Class
io.trino.sql.planner.Symbol
Packages that use Symbol
Package
Description
-
Uses of Symbol in io.trino.cost
Methods in io.trino.cost that return types with arguments of type SymbolModifier and TypeMethodDescriptionPlanNodeStatsEstimate.getSymbolStatistics()PlanNodeStatsEstimate.getSymbolsWithKnownStatistics()static Map<Symbol, SymbolStatsEstimate> PlanNodeStatsEstimateMath.intersectCorrelatedStats(List<PlanNodeStatsEstimate> estimates) Methods in io.trino.cost with parameters of type SymbolModifier and TypeMethodDescriptionPlanNodeStatsEstimate.Builder.addSymbolStatistics(Symbol symbol, SymbolStatsEstimate statistics) static PlanNodeStatsEstimateSemiJoinStatsCalculator.computeAntiJoin(PlanNodeStatsEstimate sourceStats, PlanNodeStatsEstimate filteringSourceStats, Symbol sourceJoinSymbol, Symbol filteringSourceJoinSymbol) static PlanNodeStatsEstimateSemiJoinStatsCalculator.computeSemiJoin(PlanNodeStatsEstimate sourceStats, PlanNodeStatsEstimate filteringSourceStats, Symbol sourceJoinSymbol, Symbol filteringSourceJoinSymbol) PlanNodeStatsEstimate.getSymbolStatistics(Symbol symbol) PlanNodeStatsEstimate.mapSymbolColumnStatistics(Symbol symbol, Function<SymbolStatsEstimate, SymbolStatsEstimate> mappingFunction) PlanNodeStatsEstimate.Builder.removeSymbolStatistics(Symbol symbol) Method parameters in io.trino.cost with type arguments of type SymbolModifier and TypeMethodDescriptionPlanNodeStatsEstimate.Builder.addSymbolStatistics(Map<Symbol, SymbolStatsEstimate> symbolStatistics) static PlanNodeStatsEstimateComparisonStatsCalculator.estimateExpressionToExpressionComparison(PlanNodeStatsEstimate inputStatistics, SymbolStatsEstimate leftExpressionStatistics, Optional<Symbol> leftExpressionSymbol, SymbolStatsEstimate rightExpressionStatistics, Optional<Symbol> rightExpressionSymbol, ComparisonExpression.Operator operator) static PlanNodeStatsEstimateComparisonStatsCalculator.estimateExpressionToLiteralComparison(PlanNodeStatsEstimate inputStatistics, SymbolStatsEstimate expressionStatistics, Optional<Symbol> expressionSymbol, OptionalDouble literalValue, ComparisonExpression.Operator operator) doublePlanNodeStatsEstimate.getOutputSizeInBytes(Collection<Symbol> outputSymbols, TypeProvider types) Returns estimated data size.static doubleAggregationStatsRule.getRowsCount(PlanNodeStatsEstimate sourceStats, Collection<Symbol> groupBySymbols) static PlanNodeStatsEstimateAggregationStatsRule.groupBy(PlanNodeStatsEstimate sourceStats, Collection<Symbol> groupBySymbols, Map<Symbol, AggregationNode.Aggregation> aggregations) static PlanNodeStatsEstimateAggregationStatsRule.groupBy(PlanNodeStatsEstimate sourceStats, Collection<Symbol> groupBySymbols, Map<Symbol, AggregationNode.Aggregation> aggregations) StatsNormalizer.normalize(PlanNodeStatsEstimate stats, Collection<Symbol> outputSymbols, TypeProvider types) Constructor parameters in io.trino.cost with type arguments of type SymbolModifierConstructorDescriptionPlanNodeStatsEstimate(double outputRowCount, Map<Symbol, SymbolStatsEstimate> symbolStatistics) -
Uses of Symbol in io.trino.operator.join
Methods in io.trino.operator.join that return types with arguments of type SymbolModifier and TypeMethodDescriptionstatic Map<DynamicFilterId, Symbol> JoinUtils.getJoinDynamicFilters(JoinNode joinNode) -
Uses of Symbol in io.trino.server
Method parameters in io.trino.server with type arguments of type SymbolModifier and TypeMethodDescriptionDynamicFilterService.createDynamicFilter(QueryId queryId, List<DynamicFilters.Descriptor> dynamicFilterDescriptors, Map<Symbol, ColumnHandle> columnHandles, TypeProvider typeProvider) -
Uses of Symbol in io.trino.sql.planner
Methods in io.trino.sql.planner that return SymbolModifier and TypeMethodDescriptionstatic SymbolSymbol.from(Expression expression) Partitioning.ArgumentBinding.getColumn()SymbolAllocator.newHashSymbol()SymbolAllocator.newSymbol(Expression expression, Type type) SymbolAllocator.newSymbol(Expression expression, Type type, String suffix) Methods in io.trino.sql.planner that return types with arguments of type SymbolModifier and TypeMethodDescriptionTypeProvider.allTypes()static Map<NodeRef<LambdaArgumentDeclaration>, Symbol> LogicalPlanner.buildLambdaDeclarationToSymbolMap(Analysis analysis, SymbolAllocator symbolAllocator) SymbolsExtractor.extractAll(AggregationNode.Aggregation aggregation) SymbolsExtractor.extractAll(WindowNode.Function function) SymbolsExtractor.extractAll(Expression expression) SymbolsExtractor.extractOutputSymbols(PlanNode planNode) SymbolsExtractor.extractOutputSymbols(PlanNode planNode, Lookup lookup) SymbolsExtractor.extractUnique(AggregationNode.Aggregation aggregation) SymbolsExtractor.extractUnique(PlanNode node) SymbolsExtractor.extractUnique(PlanNode node, Lookup lookup) SymbolsExtractor.extractUnique(WindowNode.Function function) SymbolsExtractor.extractUnique(Expression expression) SymbolsExtractor.extractUnique(Iterable<? extends Expression> expressions) SymbolsExtractor.extractUniqueNonRecursive(PlanNode node) Partitioning.getColumns()StatisticsAggregationPlanner.TableStatisticAggregation.getDescriptor()NodeAndMappings.getFields()TranslationMap.getFieldSymbols()PartitioningScheme.getHashColumn()TranslationMap.getMappings()OrderingScheme.getOrderBy()OrderingScheme.getOrderings()PartitioningScheme.getOutputLayout()PlanFragment.getSymbols()DomainTranslator.ExtractionResult.getTupleDomain()OrderingScheme.toLocalProperties()Methods in io.trino.sql.planner with parameters of type SymbolMethod parameters in io.trino.sql.planner with type arguments of type SymbolModifier and TypeMethodDescriptionstatic TypeProviderstatic NodeAndMappingsPlanCopier.copyPlan(PlanNode plan, List<Symbol> fields, Metadata metadata, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator) static PartitioningPartitioning.create(PartitioningHandle handle, List<Symbol> columns) LocalDynamicFiltersCollector.createDynamicFilter(List<DynamicFilters.Descriptor> descriptors, Map<Symbol, ColumnHandle> columnsMap, TypeProvider typeProvider, PlannerContext plannerContext) StatisticsAggregationPlanner.createStatisticsAggregation(TableStatisticsMetadata statisticsMetadata, Map<String, Symbol> columnToSymbolMap) static Optional<SortExpressionContext> SortExpressionExtractor.extractSortExpression(Metadata metadata, Set<Symbol> buildSymbols, Expression filter) EqualityInference.generateEqualitiesPartitionedBy(Set<Symbol> scope) Dumps the inference equalities as equality expressions that are partitioned by the symbolScope.static ExpressionExpressionSymbolInliner.inlineSymbols(Function<Symbol, Expression> mapping, Expression expression) static ExpressionExpressionSymbolInliner.inlineSymbols(Map<Symbol, ? extends Expression> mapping, Expression expression) booleanPartitioning.isCompatibleWith(Partitioning right, Function<Symbol, Set<Symbol>> leftToRightMappings, Function<Symbol, Optional<NullableValue>> leftConstantMapping, Function<Symbol, Optional<NullableValue>> rightConstantMapping, Metadata metadata, Session session) booleanPartitioning.isCompatibleWith(Partitioning right, Function<Symbol, Set<Symbol>> leftToRightMappings, Function<Symbol, Optional<NullableValue>> leftConstantMapping, Function<Symbol, Optional<NullableValue>> rightConstantMapping, Metadata metadata, Session session) booleanPartitioning.isEffectivelySinglePartition(Set<Symbol> knownConstants) booleanPartitioning.isPartitionedOn(Collection<Symbol> columns, Set<Symbol> knownConstants) booleanPartitioning.isPartitionedOn(Collection<Symbol> columns, Set<Symbol> knownConstants) booleanPartitioning.isPartitionedOnExactly(Collection<Symbol> columns, Set<Symbol> knownConstants) booleanPartitioning.isPartitionedOnExactly(Collection<Symbol> columns, Set<Symbol> knownConstants) LocalExecutionPlanner.plan(TaskContext taskContext, PlanNode plan, List<Symbol> outputLayout, TypeProvider types, List<PlanNodeId> partitionedSourceOrder, OutputFactory outputOperatorFactory) EqualityInference.rewrite(Expression expression, Set<Symbol> scope) Attempts to rewrite an Expression in terms of the symbols allowed by the symbol scope given the known equalities.static ExpressionGroupingOperationRewriter.rewriteGroupingOperation(GroupingOperation expression, List<Set<Integer>> groupingSets, Map<NodeRef<Expression>, ResolvedField> columnReferenceFields, Optional<Symbol> groupIdSymbol) DomainTranslator.toPredicate(TupleDomain<Symbol> tupleDomain) static ExpressionConnectorExpressionTranslator.translate(Session session, ConnectorExpression expression, PlannerContext plannerContext, Map<String, Symbol> variableMappings, LiteralEncoder literalEncoder) PartitioningScheme.translateOutputLayout(List<Symbol> newOutputLayout) static TypeProviderTranslationMap.withAdditionalMappings(Map<ScopeAware<Expression>, Symbol> mappings) TranslationMap.withNewMappings(Map<ScopeAware<Expression>, Symbol> mappings, List<Symbol> fields) TranslationMap.withNewMappings(Map<ScopeAware<Expression>, Symbol> mappings, List<Symbol> fields) Constructors in io.trino.sql.planner with parameters of type SymbolModifierConstructorDescriptionTranslationMap(Optional<TranslationMap> outerContext, Scope scope, Analysis analysis, Map<NodeRef<LambdaArgumentDeclaration>, Symbol> lambdaArguments, Symbol[] fieldSymbols, Map<ScopeAware<Expression>, Symbol> astToSymbols, Session session, PlannerContext plannerContext) Constructor parameters in io.trino.sql.planner with type arguments of type SymbolModifierConstructorDescriptionExtractionResult(TupleDomain<Symbol> tupleDomain, Expression remainingExpression) LayoutConstraintEvaluator(PlannerContext plannerContext, TypeAnalyzer typeAnalyzer, Session session, TypeProvider types, Map<Symbol, ColumnHandle> assignments, Expression expression) LookupSymbolResolver(Map<Symbol, ColumnHandle> assignments, Map<ColumnHandle, NullableValue> bindings) NodeAndMappings(PlanNode node, List<Symbol> fields) PartitioningScheme(Partitioning partitioning, List<Symbol> outputLayout) PartitioningScheme(Partitioning partitioning, List<Symbol> outputLayout, Optional<Symbol> hashColumn) PartitioningScheme(Partitioning partitioning, List<Symbol> outputLayout, Optional<Symbol> hashColumn) PartitioningScheme(Partitioning partitioning, List<Symbol> outputLayout, Optional<Symbol> hashColumn, boolean replicateNullsAndAny, Optional<int[]> bucketToPartition, Optional<Integer> partitionCount) PartitioningScheme(Partitioning partitioning, List<Symbol> outputLayout, Optional<Symbol> hashColumn, boolean replicateNullsAndAny, Optional<int[]> bucketToPartition, Optional<Integer> partitionCount) PlanFragment(PlanFragmentId id, PlanNode root, Map<Symbol, Type> symbols, PartitioningHandle partitioning, Optional<Integer> partitionCount, List<PlanNodeId> partitionedSources, PartitioningScheme outputPartitioningScheme, StatsAndCosts statsAndCosts, List<CatalogProperties> activeCatalogs, List<LanguageScalarFunctionData> languageFunctions, Optional<String> jsonRepresentation) SymbolAllocator(Map<Symbol, Type> initial) TranslationMap(Optional<TranslationMap> outerContext, Scope scope, Analysis analysis, Map<NodeRef<LambdaArgumentDeclaration>, Symbol> lambdaArguments, Symbol[] fieldSymbols, Map<ScopeAware<Expression>, Symbol> astToSymbols, Session session, PlannerContext plannerContext) TranslationMap(Optional<TranslationMap> outerContext, Scope scope, Analysis analysis, Map<NodeRef<LambdaArgumentDeclaration>, Symbol> lambdaArguments, List<Symbol> fieldSymbols, Session session, PlannerContext plannerContext) TranslationMap(Optional<TranslationMap> outerContext, Scope scope, Analysis analysis, Map<NodeRef<LambdaArgumentDeclaration>, Symbol> lambdaArguments, List<Symbol> fieldSymbols, Session session, PlannerContext plannerContext) TranslationMap(Optional<TranslationMap> outerContext, Scope scope, Analysis analysis, Map<NodeRef<LambdaArgumentDeclaration>, Symbol> lambdaArguments, List<Symbol> fieldSymbols, Map<ScopeAware<Expression>, Symbol> astToSymbols, Session session, PlannerContext plannerContext) TranslationMap(Optional<TranslationMap> outerContext, Scope scope, Analysis analysis, Map<NodeRef<LambdaArgumentDeclaration>, Symbol> lambdaArguments, List<Symbol> fieldSymbols, Map<ScopeAware<Expression>, Symbol> astToSymbols, Session session, PlannerContext plannerContext) Translator(Function<Symbol, Optional<Symbol>> columnTranslator, Function<Symbol, Optional<NullableValue>> constantTranslator, Function<Expression, Optional<Symbol>> expressionTranslator) Translator(Function<Symbol, Optional<Symbol>> columnTranslator, Function<Symbol, Optional<NullableValue>> constantTranslator, Function<Expression, Optional<Symbol>> expressionTranslator) -
Uses of Symbol in io.trino.sql.planner.iterative
Methods in io.trino.sql.planner.iterative that return types with arguments of type SymbolConstructor parameters in io.trino.sql.planner.iterative with type arguments of type Symbol -
Uses of Symbol in io.trino.sql.planner.iterative.rule
Methods in io.trino.sql.planner.iterative.rule that return SymbolModifier and TypeMethodDescriptionSetOperationNodeTranslator.TranslationResult.getRowNumberSymbol()Methods in io.trino.sql.planner.iterative.rule that return types with arguments of type SymbolMethod parameters in io.trino.sql.planner.iterative.rule with type arguments of type SymbolModifier and TypeMethodDescriptionstatic PlanNodeEliminateCrossJoins.buildJoinTree(List<Symbol> expectedOutputSymbols, JoinGraph graph, List<Integer> joinOrder, PlanNodeIdAllocator idAllocator) PruneTableScanColumns.pruneColumns(Metadata metadata, TypeProvider types, Session session, TableScanNode node, Set<Symbol> referencedOutputs) PushAggregationIntoTableScan.pushAggregationIntoTableScan(PlannerContext plannerContext, TypeAnalyzer typeAnalyzer, Rule.Context context, PlanNode aggregationNode, TableScanNode tableScan, Map<Symbol, AggregationNode.Aggregation> aggregations, List<Symbol> groupingKeys) PushAggregationIntoTableScan.pushAggregationIntoTableScan(PlannerContext plannerContext, TypeAnalyzer typeAnalyzer, Rule.Context context, PlanNode aggregationNode, TableScanNode tableScan, Map<Symbol, AggregationNode.Aggregation> aggregations, List<Symbol> groupingKeys) ProjectOffPushDownRule.pushDownProjectOff(Rule.Context context, N targetNode, Set<Symbol> referencedOutputs) PruneAggregationColumns.pushDownProjectOff(Rule.Context context, AggregationNode aggregationNode, Set<Symbol> referencedOutputs) PruneApplyColumns.pushDownProjectOff(Rule.Context context, ApplyNode applyNode, Set<Symbol> referencedOutputs) PruneAssignUniqueIdColumns.pushDownProjectOff(Rule.Context context, AssignUniqueId assignUniqueId, Set<Symbol> referencedOutputs) PruneCorrelatedJoinColumns.pushDownProjectOff(Rule.Context context, CorrelatedJoinNode correlatedJoinNode, Set<Symbol> referencedOutputs) PruneEnforceSingleRowColumns.pushDownProjectOff(Rule.Context context, EnforceSingleRowNode enforceSingleRowNode, Set<Symbol> referencedOutputs) PruneExchangeColumns.pushDownProjectOff(Rule.Context context, ExchangeNode exchangeNode, Set<Symbol> referencedOutputs) PruneFilterColumns.pushDownProjectOff(Rule.Context context, FilterNode filterNode, Set<Symbol> referencedOutputs) PruneGroupIdColumns.pushDownProjectOff(Rule.Context context, GroupIdNode groupIdNode, Set<Symbol> referencedOutputs) PruneIndexJoinColumns.pushDownProjectOff(Rule.Context context, IndexJoinNode indexJoinNode, Set<Symbol> referencedOutputs) PruneIndexSourceColumns.pushDownProjectOff(Rule.Context context, IndexSourceNode indexSourceNode, Set<Symbol> referencedOutputs) PruneJoinColumns.pushDownProjectOff(Rule.Context context, JoinNode joinNode, Set<Symbol> referencedOutputs) PruneLimitColumns.pushDownProjectOff(Rule.Context context, LimitNode limitNode, Set<Symbol> referencedOutputs) PruneMarkDistinctColumns.pushDownProjectOff(Rule.Context context, MarkDistinctNode markDistinctNode, Set<Symbol> referencedOutputs) PruneOffsetColumns.pushDownProjectOff(Rule.Context context, OffsetNode offsetNode, Set<Symbol> referencedOutputs) PrunePattenRecognitionColumns.pushDownProjectOff(Rule.Context context, PatternRecognitionNode patternRecognitionNode, Set<Symbol> referencedOutputs) PruneProjectColumns.pushDownProjectOff(Rule.Context context, ProjectNode childProjectNode, Set<Symbol> referencedOutputs) PruneRowNumberColumns.pushDownProjectOff(Rule.Context context, RowNumberNode rowNumberNode, Set<Symbol> referencedOutputs) PruneSampleColumns.pushDownProjectOff(Rule.Context context, SampleNode sampleNode, Set<Symbol> referencedOutputs) PruneSemiJoinColumns.pushDownProjectOff(Rule.Context context, SemiJoinNode semiJoinNode, Set<Symbol> referencedOutputs) PruneSortColumns.pushDownProjectOff(Rule.Context context, SortNode sortNode, Set<Symbol> referencedOutputs) PruneSpatialJoinColumns.pushDownProjectOff(Rule.Context context, SpatialJoinNode spatialJoinNode, Set<Symbol> referencedOutputs) PruneTableFunctionProcessorColumns.pushDownProjectOff(Rule.Context context, TableFunctionProcessorNode node, Set<Symbol> referencedOutputs) PruneTableScanColumns.pushDownProjectOff(Rule.Context context, TableScanNode node, Set<Symbol> referencedOutputs) PruneTopNColumns.pushDownProjectOff(Rule.Context context, TopNNode topNNode, Set<Symbol> referencedOutputs) PruneTopNRankingColumns.pushDownProjectOff(Rule.Context context, TopNRankingNode topNRankingNode, Set<Symbol> referencedOutputs) PruneUnionColumns.pushDownProjectOff(Rule.Context context, UnionNode unionNode, Set<Symbol> referencedOutputs) PruneUnnestColumns.pushDownProjectOff(Rule.Context context, UnnestNode unnestNode, Set<Symbol> referencedOutputs) PruneValuesColumns.pushDownProjectOff(Rule.Context context, ValuesNode valuesNode, Set<Symbol> referencedOutputs) PruneWindowColumns.pushDownProjectOff(Rule.Context context, WindowNode windowNode, Set<Symbol> referencedOutputs) static PlanNodeImplementLimitWithTies.rewriteLimitWithTiesWithPartitioning(LimitNode limitNode, PlanNode source, Session session, Metadata metadata, PlanNodeIdAllocator idAllocator, SymbolAllocator symbolAllocator, List<Symbol> partitionBy) Rewrite LimitNode with ties to WindowNode and FilterNode, with partitioning defined by partitionBy.Constructor parameters in io.trino.sql.planner.iterative.rule with type arguments of type Symbol -
Uses of Symbol in io.trino.sql.planner.optimizations
Methods in io.trino.sql.planner.optimizations that return SymbolMethods in io.trino.sql.planner.optimizations that return types with arguments of type SymbolModifier and TypeMethodDescriptionPropertyDerivations.filterIfMissing(Collection<Symbol> columns, Symbol column) PropertyDerivations.filterOrRewrite(Collection<Symbol> columns, Collection<JoinNode.EquiJoinClause> equalities, Symbol column) ActualProperties.getConstants()ActualProperties.getLocalProperties()StreamPropertyDerivations.StreamProperties.getLocalProperties()StreamPreferredProperties.getPartitioningColumns()StreamPropertyDerivations.StreamProperties.getPartitioningColumns()SymbolMapper.mapAndDistinct(List<Symbol> symbols) Methods in io.trino.sql.planner.optimizations with parameters of type SymbolModifier and TypeMethodDescriptionPropertyDerivations.filterIfMissing(Collection<Symbol> columns, Symbol column) PropertyDerivations.filterOrRewrite(Collection<Symbol> columns, Collection<JoinNode.EquiJoinClause> equalities, Symbol column) voidMethod parameters in io.trino.sql.planner.optimizations with type arguments of type SymbolModifier and TypeMethodDescriptionActualProperties.Builder.constants(Map<Symbol, NullableValue> constants) StreamPreferredProperties.constrainTo(Iterable<Symbol> symbols) PlanNodeDecorrelator.decorrelateFilters(PlanNode node, List<Symbol> correlation) static StreamPreferredPropertiesStreamPreferredProperties.exactlyPartitionedOn(Collection<Symbol> partitionSymbols) PropertyDerivations.filterIfMissing(Collection<Symbol> columns, Symbol column) PropertyDerivations.filterOrRewrite(Collection<Symbol> columns, Collection<JoinNode.EquiJoinClause> equalities, Symbol column) static Optional<Expression> HashGenerationOptimizer.getHashExpression(Metadata metadata, SymbolAllocator symbolAllocator, List<Symbol> symbols) booleanActualProperties.isCompatibleTablePartitioningWith(ActualProperties other, Function<Symbol, Set<Symbol>> symbolMappings, Metadata metadata, Session session) booleanActualProperties.isCompatibleTablePartitioningWith(ActualProperties other, Function<Symbol, Set<Symbol>> symbolMappings, Metadata metadata, Session session) booleanStreamPropertyDerivations.StreamProperties.isExactlyPartitionedOn(Iterable<Symbol> columns) booleanActualProperties.isNodePartitionedOn(Collection<Symbol> columns, boolean exactly) booleanActualProperties.isNodePartitionedOn(Collection<Symbol> columns, boolean nullsAndAnyReplicated, boolean exactly) booleanStreamPropertyDerivations.StreamProperties.isPartitionedOn(Iterable<Symbol> columns) ActualProperties.Builder.local(List<? extends LocalProperty<Symbol>> localProperties) SymbolMapper.map(PartitioningScheme scheme, List<Symbol> sourceLayout) SymbolMapper.mapAndDistinct(List<Symbol> symbols) static ActualProperties.GlobalActualProperties.Global.partitionedOn(PartitioningHandle nodePartitioningHandle, List<Symbol> nodePartitioning) static StreamPreferredPropertiesStreamPreferredProperties.partitionedOn(Collection<Symbol> partitionSymbols) UnaliasSymbolReferences.reallocateSymbols(PlanNode plan, List<Symbol> fields, SymbolAllocator symbolAllocator) Replace all symbols in the plan with new symbols.static SymbolMapperSymbolMapper.symbolMapper(Map<Symbol, Symbol> mapping) static SymbolMapperSymbolMapper.symbolMapper(Map<Symbol, Symbol> mapping) static SymbolMapperSymbolMapper.symbolReallocator(Map<Symbol, Symbol> mapping, SymbolAllocator symbolAllocator) static SymbolMapperSymbolMapper.symbolReallocator(Map<Symbol, Symbol> mapping, SymbolAllocator symbolAllocator) ActualProperties.translate(Function<Symbol, Optional<Symbol>> translator, Function<Expression, Optional<Symbol>> expressionTranslator) ActualProperties.translate(Function<Symbol, Optional<Symbol>> translator, Function<Expression, Optional<Symbol>> expressionTranslator) StreamPreferredProperties.withPartitioning(Collection<Symbol> partitionSymbols) Constructor parameters in io.trino.sql.planner.optimizations with type arguments of type SymbolModifierConstructorDescriptionBuilder(ActualProperties.Global global, List<LocalProperty<Symbol>> localProperties, Map<Symbol, NullableValue> constants) Builder(ActualProperties.Global global, List<LocalProperty<Symbol>> localProperties, Map<Symbol, NullableValue> constants) SymbolMapper(Function<Symbol, Symbol> mappingFunction) SymbolMapper(Function<Symbol, Symbol> mappingFunction) -
Uses of Symbol in io.trino.sql.planner.optimizations.joins
Methods in io.trino.sql.planner.optimizations.joins that return SymbolModifier and TypeMethodDescriptionJoinGraph.Edge.getSourceSymbol()JoinGraph.Edge.getTargetSymbol()Constructors in io.trino.sql.planner.optimizations.joins with parameters of type Symbol -
Uses of Symbol in io.trino.sql.planner.plan
Methods in io.trino.sql.planner.plan that return SymbolModifier and TypeMethodDescriptionSemiJoinNode.getFilteringSourceJoinSymbol()TableExecuteNode.getFragmentSymbol()TableWriterNode.getFragmentSymbol()GroupIdNode.getGroupIdSymbol()AssignUniqueId.getIdColumn()IndexJoinNode.EquiJoinClause.getIndex()UnnestNode.Mapping.getInput()JoinNode.EquiJoinClause.getLeft()MarkDistinctNode.getMarkerSymbol()MergeProcessorNode.getMergeRowSymbol()Assignments.Assignment.getOutput()SimpleTableExecuteNode.getOutput()TableDeleteNode.getOutput()TableUpdateNode.getOutput()ExplainAnalyzeNode.getOutputSymbol()IndexJoinNode.EquiJoinClause.getProbe()TopNRankingNode.getRankingSymbol()JoinNode.EquiJoinClause.getRight()StatisticsWriterNode.getRowCountSymbol()TableExecuteNode.getRowCountSymbol()TableFinishNode.getRowCountSymbol()TableWriterNode.getRowCountSymbol()MergeProcessorNode.getRowIdSymbol()RowNumberNode.getRowNumberSymbol()SemiJoinNode.getSemiJoinOutput()SemiJoinNode.getSourceJoinSymbol()TableFunctionNode.PassThroughColumn.symbol()Returns the value of thesymbolrecord component.Methods in io.trino.sql.planner.plan that return types with arguments of type SymbolModifier and TypeMethodDescriptionPatterns.Apply.correlation()static Property<CorrelatedJoinNode, Lookup, List<Symbol>> Patterns.CorrelatedJoin.correlation()Assignments.entrySet()ExplainAnalyzeNode.getActualOutputs()GroupIdNode.getAggregationArguments()AggregationNode.getAggregations()StatisticAggregations.getAggregations()IndexSourceNode.getAssignments()TableScanNode.getAssignments()TableExecuteNode.getColumns()TableWriterNode.getColumns()GroupIdNode.getCommonGroupingColumns()ApplyNode.getCorrelation()CorrelatedJoinNode.getCorrelation()PatternRecognitionNode.getCreatedSymbols()WindowNode.getCreatedSymbols()MergeProcessorNode.getDataColumnSymbols()StatisticsWriterNode.getDescriptor()GroupIdNode.getDistinctGroupingSetSymbols()DistinctLimitNode.getDistinctSymbols()MarkDistinctNode.getDistinctSymbols()DynamicFilterSourceNode.getDynamicFilters()JoinNode.getDynamicFilters()WindowNode.Frame.getEndValue()AggregationNode.Aggregation.getFilter()SemiJoinNode.getFilteringSourceHashSymbol()AggregationNode.getGroupIdSymbol()GroupIdNode.getGroupingColumns()GroupIdNode.getGroupingColumns()AggregationNode.getGroupingKeys()AggregationNode.GroupingSetDescriptor.getGroupingKeys()GroupIdNode.getGroupingSets()StatisticAggregations.getGroupingSymbols()AggregationNode.getHashSymbol()DistinctLimitNode.getHashSymbol()MarkDistinctNode.getHashSymbol()PatternRecognitionNode.getHashSymbol()RowNumberNode.getHashSymbol()TableFunctionProcessorNode.getHashSymbol()TopNRankingNode.getHashSymbol()WindowNode.getHashSymbol()IndexJoinNode.getIndexHashSymbol()ExchangeNode.getInputs()GroupIdNode.getInputSymbols()JoinNode.getLeftHashSymbol()JoinNode.getLeftOutputSymbols()SpatialJoinNode.getLeftPartitionSymbol()IndexSourceNode.getLookupSymbols()Assignments.getMap()StatisticAggregations.Parts.getMappings()StatisticAggregations.Parts.getMappings()TableFunctionProcessorNode.getMarkerSymbols()TableFunctionProcessorNode.getMarkerSymbols()AggregationNode.Aggregation.getMask()PatternRecognitionNode.getMeasures()UnnestNode.getOrdinalitySymbol()Assignments.getOutputs()UnnestNode.Mapping.getOutputs()AggregationNode.getOutputSymbols()ApplyNode.getOutputSymbols()AssignUniqueId.getOutputSymbols()CorrelatedJoinNode.getOutputSymbols()DistinctLimitNode.getOutputSymbols()DynamicFilterSourceNode.getOutputSymbols()EnforceSingleRowNode.getOutputSymbols()ExchangeNode.getOutputSymbols()ExplainAnalyzeNode.getOutputSymbols()FilterNode.getOutputSymbols()GroupIdNode.getOutputSymbols()IndexJoinNode.getOutputSymbols()IndexSourceNode.getOutputSymbols()JoinNode.getOutputSymbols()LimitNode.getOutputSymbols()MarkDistinctNode.getOutputSymbols()MergeProcessorNode.getOutputSymbols()MergeWriterNode.getOutputSymbols()Aggregate information about updated dataOffsetNode.getOutputSymbols()OutputNode.getOutputSymbols()PatternRecognitionNode.getOutputSymbols()PlanNode.getOutputSymbols()ProjectNode.getOutputSymbols()RefreshMaterializedViewNode.getOutputSymbols()RemoteSourceNode.getOutputSymbols()RowNumberNode.getOutputSymbols()SampleNode.getOutputSymbols()SemiJoinNode.getOutputSymbols()SetOperationNode.getOutputSymbols()SimpleTableExecuteNode.getOutputSymbols()SortNode.getOutputSymbols()SpatialJoinNode.getOutputSymbols()StatisticsWriterNode.getOutputSymbols()TableDeleteNode.getOutputSymbols()TableExecuteNode.getOutputSymbols()TableFinishNode.getOutputSymbols()TableFunctionNode.getOutputSymbols()TableFunctionProcessorNode.getOutputSymbols()TableScanNode.getOutputSymbols()TableUpdateNode.getOutputSymbols()TableWriterNode.getOutputSymbols()TopNNode.getOutputSymbols()TopNRankingNode.getOutputSymbols()UnnestNode.getOutputSymbols()ValuesNode.getOutputSymbols()WindowNode.getOutputSymbols()DataOrganizationSpecification.getPartitionBy()PatternRecognitionNode.getPartitionBy()RowNumberNode.getPartitionBy()TopNRankingNode.getPartitionBy()WindowNode.getPartitionBy()AggregationNode.getPreGroupedSymbols()TableFunctionProcessorNode.getPrePartitioned()PatternRecognitionNode.getPrePartitionedInputs()WindowNode.getPrePartitionedInputs()LimitNode.getPreSortedInputs()IndexJoinNode.getProbeHashSymbol()MergeWriterNode.getProjectedSymbols()TableFunctionNode.getProperOutputs()TableFunctionProcessorNode.getProperOutputs()MergeProcessorNode.getRedistributionColumnSymbols()UnnestNode.getReplicateSymbols()TableFunctionNode.TableArgumentProperties.getRequiredColumns()TableFunctionProcessorNode.getRequiredSymbols()JoinNode.getRightHashSymbol()JoinNode.getRightOutputSymbols()SpatialJoinNode.getRightPartitionSymbol()WindowNode.Frame.getSortKeyCoercedForFrameEndComparison()WindowNode.Frame.getSortKeyCoercedForFrameStartComparison()SemiJoinNode.getSourceHashSymbol()WindowNode.Frame.getStartValue()TableFinishNode.getStatisticsAggregationDescriptor()TableWriterNode.getStatisticsAggregationDescriptor()SetOperationNode.getSymbolMapping()SetOperationNode.getSymbolMapping()Assignments.getSymbols()PatternRecognitionNode.getWindowFunctions()WindowNode.getWindowFunctions()static Property<AggregationNode, Lookup, List<Symbol>> Patterns.Aggregation.groupingColumns()com.google.common.collect.Multimap<Symbol, SymbolReference> SetOperationNode.outputSymbolMap(int sourceIndex) Returns the input to output symbol mapping for the given source channel.SetOperationNode.sourceOutputLayout(int sourceIndex) SetOperationNode.sourceSymbolMap(int sourceIndex) Returns the output to input symbol mapping for the given source channelMethods in io.trino.sql.planner.plan with parameters of type SymbolModifier and TypeMethodDescriptionstatic AssignmentsbooleanAssignments.isIdentity(Symbol output) static AssignmentsAssignments.of(Symbol symbol, Expression expression) static AssignmentsAssignments.of(Symbol symbol1, Expression expression1, Symbol symbol2, Expression expression2) Assignments.Builder.put(Symbol symbol, Expression expression) Assignments.Builder.putIdentity(Symbol symbol) Method parameters in io.trino.sql.planner.plan with type arguments of type SymbolModifier and TypeMethodDescriptionstatic AssignmentsAssignments.copyOf(Map<Symbol, Expression> assignments) Assignments.filter(Collection<Symbol> symbols) voidAssignments.forEach(BiConsumer<Symbol, Expression> consumer) static TableScanNodeTableScanNode.fromJson(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol, ColumnHandle> assignments, boolean updateTarget, Optional<Boolean> useConnectorNodePartitioning) static TableScanNodeTableScanNode.fromJson(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol, ColumnHandle> assignments, boolean updateTarget, Optional<Boolean> useConnectorNodePartitioning) AggregationNode.groupingSets(List<Symbol> groupingKeys, int groupingSetCount, Set<Integer> globalGroupingSets) static Assignmentsstatic TableScanNodeTableScanNode.newInstance(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol, ColumnHandle> assignments, boolean updateTarget, Optional<Boolean> useConnectorNodePartitioning) Deprecated.Use explicit constructor instead.static TableScanNodeTableScanNode.newInstance(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol, ColumnHandle> assignments, boolean updateTarget, Optional<Boolean> useConnectorNodePartitioning) Deprecated.Use explicit constructor instead.static ExchangeNodeExchangeNode.partitionedExchange(PlanNodeId id, ExchangeNode.Scope scope, PlanNode child, List<Symbol> partitioningColumns, Optional<Symbol> hashColumns) static ExchangeNodeExchangeNode.partitionedExchange(PlanNodeId id, ExchangeNode.Scope scope, PlanNode child, List<Symbol> partitioningColumns, Optional<Symbol> hashColumns) static ExchangeNodeExchangeNode.partitionedExchange(PlanNodeId id, ExchangeNode.Scope scope, PlanNode child, List<Symbol> partitioningColumns, Optional<Symbol> hashColumns, boolean replicateNullsAndAny) static ExchangeNodeExchangeNode.partitionedExchange(PlanNodeId id, ExchangeNode.Scope scope, PlanNode child, List<Symbol> partitioningColumns, Optional<Symbol> hashColumns, boolean replicateNullsAndAny) Assignments.Builder.put(Map.Entry<Symbol, Expression> assignment) Assignments.Builder.putAll(Map<Symbol, ? extends Expression> assignments) Assignments.Builder.putIdentities(Iterable<Symbol> symbols) AggregationNode.Builder.setAggregations(Map<Symbol, AggregationNode.Aggregation> aggregations) AggregationNode.Builder.setGroupIdSymbol(Optional<Symbol> groupIdSymbol) AggregationNode.Builder.setHashSymbol(Optional<Symbol> hashSymbol) AggregationNode.Builder.setPreGroupedSymbols(List<Symbol> preGroupedSymbols) static AggregationNodeAggregationNode.singleAggregation(PlanNodeId id, PlanNode source, Map<Symbol, AggregationNode.Aggregation> aggregations, AggregationNode.GroupingSetDescriptor groupingSets) AggregationNode.singleGroupingSet(List<Symbol> groupingKeys) Constructors in io.trino.sql.planner.plan with parameters of type SymbolModifierConstructorDescriptionAssignment(Symbol output, Expression expression) AssignUniqueId(PlanNodeId id, PlanNode source, Symbol idColumn) EquiJoinClause(Symbol probe, Symbol index) EquiJoinClause(Symbol left, Symbol right) ExplainAnalyzeNode(PlanNodeId id, PlanNode source, Symbol outputSymbol, List<Symbol> actualOutputs, boolean verbose) GroupIdNode(PlanNodeId id, PlanNode source, List<List<Symbol>> groupingSets, Map<Symbol, Symbol> groupingColumns, List<Symbol> aggregationArguments, Symbol groupIdSymbol) MarkDistinctNode(PlanNodeId id, PlanNode source, Symbol markerSymbol, List<Symbol> distinctSymbols, Optional<Symbol> hashSymbol) MergeProcessorNode(PlanNodeId id, PlanNode source, TableWriterNode.MergeTarget target, Symbol rowIdSymbol, Symbol mergeRowSymbol, List<Symbol> dataColumnSymbols, List<Symbol> redistributionColumnSymbols, List<Symbol> outputs) PassThroughColumn(Symbol symbol, boolean isPartitioningColumn) Creates an instance of aPassThroughColumnrecord class.RowNumberNode(PlanNodeId id, PlanNode source, List<Symbol> partitionBy, boolean orderSensitive, Symbol rowNumberSymbol, Optional<Integer> maxRowCountPerPartition, Optional<Symbol> hashSymbol) SemiJoinNode(PlanNodeId id, PlanNode source, PlanNode filteringSource, Symbol sourceJoinSymbol, Symbol filteringSourceJoinSymbol, Symbol semiJoinOutput, Optional<Symbol> sourceHashSymbol, Optional<Symbol> filteringSourceHashSymbol, Optional<SemiJoinNode.DistributionType> distributionType, Optional<DynamicFilterId> dynamicFilterId) SimpleTableExecuteNode(PlanNodeId id, Symbol output, TableExecuteHandle executeHandle) StatisticsWriterNode(PlanNodeId id, PlanNode source, StatisticsWriterNode.WriteStatisticsTarget target, Symbol rowCountSymbol, boolean rowCountEnabled, StatisticAggregationsDescriptor<Symbol> descriptor) TableDeleteNode(PlanNodeId id, TableHandle target, Symbol output) TableExecuteNode(PlanNodeId id, PlanNode source, TableWriterNode.TableExecuteTarget target, Symbol rowCountSymbol, Symbol fragmentSymbol, List<Symbol> columns, List<String> columnNames, Optional<PartitioningScheme> partitioningScheme) TableFinishNode(PlanNodeId id, PlanNode source, TableWriterNode.WriterTarget target, Symbol rowCountSymbol, Optional<StatisticAggregations> statisticsAggregation, Optional<StatisticAggregationsDescriptor<Symbol>> statisticsAggregationDescriptor) TableUpdateNode(PlanNodeId id, TableHandle target, Symbol output) TableWriterNode(PlanNodeId id, PlanNode source, TableWriterNode.WriterTarget target, Symbol rowCountSymbol, Symbol fragmentSymbol, List<Symbol> columns, List<String> columnNames, Optional<PartitioningScheme> partitioningScheme, Optional<StatisticAggregations> statisticsAggregation, Optional<StatisticAggregationsDescriptor<Symbol>> statisticsAggregationDescriptor) TopNRankingNode(PlanNodeId id, PlanNode source, DataOrganizationSpecification specification, TopNRankingNode.RankingType rankingType, Symbol rankingSymbol, int maxRankingPerPartition, boolean partial, Optional<Symbol> hashSymbol) Constructor parameters in io.trino.sql.planner.plan with type arguments of type SymbolModifierConstructorDescriptionAggregation(ResolvedFunction resolvedFunction, List<Expression> arguments, boolean distinct, Optional<Symbol> filter, Optional<OrderingScheme> orderingScheme, Optional<Symbol> mask) AggregationNode(PlanNodeId id, PlanNode source, Map<Symbol, AggregationNode.Aggregation> aggregations, AggregationNode.GroupingSetDescriptor groupingSets, List<Symbol> preGroupedSymbols, AggregationNode.Step step, Optional<Symbol> hashSymbol, Optional<Symbol> groupIdSymbol) AggregationNode(PlanNodeId id, PlanNode source, Map<Symbol, AggregationNode.Aggregation> aggregations, AggregationNode.GroupingSetDescriptor groupingSets, List<Symbol> preGroupedSymbols, AggregationNode.Step step, Optional<Symbol> hashSymbol, Optional<Symbol> groupIdSymbol) AggregationNode(PlanNodeId id, PlanNode source, Map<Symbol, AggregationNode.Aggregation> aggregations, AggregationNode.GroupingSetDescriptor groupingSets, List<Symbol> preGroupedSymbols, AggregationNode.Step step, Optional<Symbol> hashSymbol, Optional<Symbol> groupIdSymbol) ApplyNode(PlanNodeId id, PlanNode input, PlanNode subquery, Assignments subqueryAssignments, List<Symbol> correlation, Node originSubquery) Assignments(Map<Symbol, Expression> assignments) CorrelatedJoinNode(PlanNodeId id, PlanNode input, PlanNode subquery, List<Symbol> correlation, CorrelatedJoinNode.Type type, Expression filter, Node originSubquery) DataOrganizationSpecification(List<Symbol> partitionBy, Optional<OrderingScheme> orderingScheme) DistinctLimitNode(PlanNodeId id, PlanNode source, long limit, boolean partial, List<Symbol> distinctSymbols, Optional<Symbol> hashSymbol) DistinctLimitNode(PlanNodeId id, PlanNode source, long limit, boolean partial, List<Symbol> distinctSymbols, Optional<Symbol> hashSymbol) DynamicFilterSourceNode(PlanNodeId id, PlanNode source, Map<DynamicFilterId, Symbol> dynamicFilters) ExceptNode(PlanNodeId id, List<PlanNode> sources, com.google.common.collect.ListMultimap<Symbol, Symbol> outputToInputs, List<Symbol> outputs, boolean distinct) ExceptNode(PlanNodeId id, List<PlanNode> sources, com.google.common.collect.ListMultimap<Symbol, Symbol> outputToInputs, List<Symbol> outputs, boolean distinct) ExplainAnalyzeNode(PlanNodeId id, PlanNode source, Symbol outputSymbol, List<Symbol> actualOutputs, boolean verbose) Frame(WindowFrame.Type type, FrameBound.Type startType, Optional<Symbol> startValue, Optional<Symbol> sortKeyCoercedForFrameStartComparison, FrameBound.Type endType, Optional<Symbol> endValue, Optional<Symbol> sortKeyCoercedForFrameEndComparison, Optional<Expression> originalStartValue, Optional<Expression> originalEndValue) GroupIdNode(PlanNodeId id, PlanNode source, List<List<Symbol>> groupingSets, Map<Symbol, Symbol> groupingColumns, List<Symbol> aggregationArguments, Symbol groupIdSymbol) GroupIdNode(PlanNodeId id, PlanNode source, List<List<Symbol>> groupingSets, Map<Symbol, Symbol> groupingColumns, List<Symbol> aggregationArguments, Symbol groupIdSymbol) GroupIdNode(PlanNodeId id, PlanNode source, List<List<Symbol>> groupingSets, Map<Symbol, Symbol> groupingColumns, List<Symbol> aggregationArguments, Symbol groupIdSymbol) GroupingSetDescriptor(List<Symbol> groupingKeys, int groupingSetCount, Set<Integer> globalGroupingSets) IndexJoinNode(PlanNodeId id, IndexJoinNode.Type type, PlanNode probeSource, PlanNode indexSource, List<IndexJoinNode.EquiJoinClause> criteria, Optional<Symbol> probeHashSymbol, Optional<Symbol> indexHashSymbol) IndexSourceNode(PlanNodeId id, IndexHandle indexHandle, TableHandle tableHandle, Set<Symbol> lookupSymbols, List<Symbol> outputSymbols, Map<Symbol, ColumnHandle> assignments) IndexSourceNode(PlanNodeId id, IndexHandle indexHandle, TableHandle tableHandle, Set<Symbol> lookupSymbols, List<Symbol> outputSymbols, Map<Symbol, ColumnHandle> assignments) IndexSourceNode(PlanNodeId id, IndexHandle indexHandle, TableHandle tableHandle, Set<Symbol> lookupSymbols, List<Symbol> outputSymbols, Map<Symbol, ColumnHandle> assignments) IntersectNode(PlanNodeId id, List<PlanNode> sources, com.google.common.collect.ListMultimap<Symbol, Symbol> outputToInputs, List<Symbol> outputs, boolean distinct) IntersectNode(PlanNodeId id, List<PlanNode> sources, com.google.common.collect.ListMultimap<Symbol, Symbol> outputToInputs, List<Symbol> outputs, boolean distinct) JoinNode(PlanNodeId id, JoinNode.Type type, PlanNode left, PlanNode right, List<JoinNode.EquiJoinClause> criteria, List<Symbol> leftOutputSymbols, List<Symbol> rightOutputSymbols, boolean maySkipOutputDuplicates, Optional<Expression> filter, Optional<Symbol> leftHashSymbol, Optional<Symbol> rightHashSymbol, Optional<JoinNode.DistributionType> distributionType, Optional<Boolean> spillable, Map<DynamicFilterId, Symbol> dynamicFilters, Optional<PlanNodeStatsAndCostSummary> reorderJoinStatsAndCost) LimitNode(PlanNodeId id, PlanNode source, long count, Optional<OrderingScheme> tiesResolvingScheme, boolean partial, List<Symbol> preSortedInputs) MarkDistinctNode(PlanNodeId id, PlanNode source, Symbol markerSymbol, List<Symbol> distinctSymbols, Optional<Symbol> hashSymbol) MarkDistinctNode(PlanNodeId id, PlanNode source, Symbol markerSymbol, List<Symbol> distinctSymbols, Optional<Symbol> hashSymbol) MergeProcessorNode(PlanNodeId id, PlanNode source, TableWriterNode.MergeTarget target, Symbol rowIdSymbol, Symbol mergeRowSymbol, List<Symbol> dataColumnSymbols, List<Symbol> redistributionColumnSymbols, List<Symbol> outputs) MergeWriterNode(PlanNodeId id, PlanNode source, TableWriterNode.MergeTarget target, List<Symbol> projectedSymbols, Optional<PartitioningScheme> partitioningScheme, List<Symbol> outputs) Parts(StatisticAggregations partialAggregation, StatisticAggregations finalAggregation, Map<Symbol, Symbol> mappings) Parts(StatisticAggregations partialAggregation, StatisticAggregations finalAggregation, Map<Symbol, Symbol> mappings) PatternRecognitionNode(PlanNodeId id, PlanNode source, DataOrganizationSpecification specification, Optional<Symbol> hashSymbol, Set<Symbol> prePartitionedInputs, int preSortedOrderPrefix, Map<Symbol, WindowNode.Function> windowFunctions, Map<Symbol, PatternRecognitionNode.Measure> measures, Optional<WindowNode.Frame> commonBaseFrame, PatternRecognitionRelation.RowsPerMatch rowsPerMatch, Optional<IrLabel> skipToLabel, SkipTo.Position skipToPosition, boolean initial, IrRowPattern pattern, Map<IrLabel, Set<IrLabel>> subsets, Map<IrLabel, LogicalIndexExtractor.ExpressionAndValuePointers> variableDefinitions) PatternRecognitionNode(PlanNodeId id, PlanNode source, DataOrganizationSpecification specification, Optional<Symbol> hashSymbol, Set<Symbol> prePartitionedInputs, int preSortedOrderPrefix, Map<Symbol, WindowNode.Function> windowFunctions, Map<Symbol, PatternRecognitionNode.Measure> measures, Optional<WindowNode.Frame> commonBaseFrame, PatternRecognitionRelation.RowsPerMatch rowsPerMatch, Optional<IrLabel> skipToLabel, SkipTo.Position skipToPosition, boolean initial, IrRowPattern pattern, Map<IrLabel, Set<IrLabel>> subsets, Map<IrLabel, LogicalIndexExtractor.ExpressionAndValuePointers> variableDefinitions) PatternRecognitionNode(PlanNodeId id, PlanNode source, DataOrganizationSpecification specification, Optional<Symbol> hashSymbol, Set<Symbol> prePartitionedInputs, int preSortedOrderPrefix, Map<Symbol, WindowNode.Function> windowFunctions, Map<Symbol, PatternRecognitionNode.Measure> measures, Optional<WindowNode.Frame> commonBaseFrame, PatternRecognitionRelation.RowsPerMatch rowsPerMatch, Optional<IrLabel> skipToLabel, SkipTo.Position skipToPosition, boolean initial, IrRowPattern pattern, Map<IrLabel, Set<IrLabel>> subsets, Map<IrLabel, LogicalIndexExtractor.ExpressionAndValuePointers> variableDefinitions) RemoteSourceNode(PlanNodeId id, PlanFragmentId sourceFragmentId, List<Symbol> outputs, Optional<OrderingScheme> orderingScheme, ExchangeNode.Type exchangeType, RetryPolicy retryPolicy) RowNumberNode(PlanNodeId id, PlanNode source, List<Symbol> partitionBy, boolean orderSensitive, Symbol rowNumberSymbol, Optional<Integer> maxRowCountPerPartition, Optional<Symbol> hashSymbol) SemiJoinNode(PlanNodeId id, PlanNode source, PlanNode filteringSource, Symbol sourceJoinSymbol, Symbol filteringSourceJoinSymbol, Symbol semiJoinOutput, Optional<Symbol> sourceHashSymbol, Optional<Symbol> filteringSourceHashSymbol, Optional<SemiJoinNode.DistributionType> distributionType, Optional<DynamicFilterId> dynamicFilterId) protectedSetOperationNode(PlanNodeId id, List<PlanNode> sources, com.google.common.collect.ListMultimap<Symbol, Symbol> outputToInputs, List<Symbol> outputs) protectedSetOperationNode(PlanNodeId id, List<PlanNode> sources, com.google.common.collect.ListMultimap<Symbol, Symbol> outputToInputs, List<Symbol> outputs) SpatialJoinNode(PlanNodeId id, SpatialJoinNode.Type type, PlanNode left, PlanNode right, List<Symbol> outputSymbols, Expression filter, Optional<Symbol> leftPartitionSymbol, Optional<Symbol> rightPartitionSymbol, Optional<String> kdbTree) SpatialJoinNode(PlanNodeId id, SpatialJoinNode.Type type, PlanNode left, PlanNode right, List<Symbol> outputSymbols, Expression filter, Optional<Symbol> leftPartitionSymbol, Optional<Symbol> rightPartitionSymbol, Optional<String> kdbTree) StatisticAggregations(Map<Symbol, AggregationNode.Aggregation> aggregations, List<Symbol> groupingSymbols) StatisticAggregations(Map<Symbol, AggregationNode.Aggregation> aggregations, List<Symbol> groupingSymbols) StatisticsWriterNode(PlanNodeId id, PlanNode source, StatisticsWriterNode.WriteStatisticsTarget target, Symbol rowCountSymbol, boolean rowCountEnabled, StatisticAggregationsDescriptor<Symbol> descriptor) TableArgumentProperties(String argumentName, boolean rowSemantics, boolean pruneWhenEmpty, TableFunctionNode.PassThroughSpecification passThroughSpecification, List<Symbol> requiredColumns, Optional<DataOrganizationSpecification> specification) TableExecuteNode(PlanNodeId id, PlanNode source, TableWriterNode.TableExecuteTarget target, Symbol rowCountSymbol, Symbol fragmentSymbol, List<Symbol> columns, List<String> columnNames, Optional<PartitioningScheme> partitioningScheme) TableFunctionNode(PlanNodeId id, String name, CatalogHandle functionCatalog, Map<String, Argument> arguments, List<Symbol> properOutputs, List<PlanNode> sources, List<TableFunctionNode.TableArgumentProperties> tableArgumentProperties, List<List<String>> copartitioningLists, TableFunctionHandle handle) TableFunctionProcessorNode(PlanNodeId id, String name, List<Symbol> properOutputs, Optional<PlanNode> source, boolean pruneWhenEmpty, List<TableFunctionNode.PassThroughSpecification> passThroughSpecifications, List<List<Symbol>> requiredSymbols, Optional<Map<Symbol, Symbol>> markerSymbols, Optional<DataOrganizationSpecification> specification, Set<Symbol> prePartitioned, int preSorted, Optional<Symbol> hashSymbol, TableFunctionHandle handle) TableFunctionProcessorNode(PlanNodeId id, String name, List<Symbol> properOutputs, Optional<PlanNode> source, boolean pruneWhenEmpty, List<TableFunctionNode.PassThroughSpecification> passThroughSpecifications, List<List<Symbol>> requiredSymbols, Optional<Map<Symbol, Symbol>> markerSymbols, Optional<DataOrganizationSpecification> specification, Set<Symbol> prePartitioned, int preSorted, Optional<Symbol> hashSymbol, TableFunctionHandle handle) TableScanNode(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol, ColumnHandle> assignments, TupleDomain<ColumnHandle> enforcedConstraint, Optional<PlanNodeStatsEstimate> statistics, boolean updateTarget, Optional<Boolean> useConnectorNodePartitioning) TableScanNode(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol, ColumnHandle> assignments, TupleDomain<ColumnHandle> enforcedConstraint, Optional<PlanNodeStatsEstimate> statistics, boolean updateTarget, Optional<Boolean> useConnectorNodePartitioning) TableWriterNode(PlanNodeId id, PlanNode source, TableWriterNode.WriterTarget target, Symbol rowCountSymbol, Symbol fragmentSymbol, List<Symbol> columns, List<String> columnNames, Optional<PartitioningScheme> partitioningScheme, Optional<StatisticAggregations> statisticsAggregation, Optional<StatisticAggregationsDescriptor<Symbol>> statisticsAggregationDescriptor) TopNRankingNode(PlanNodeId id, PlanNode source, DataOrganizationSpecification specification, TopNRankingNode.RankingType rankingType, Symbol rankingSymbol, int maxRankingPerPartition, boolean partial, Optional<Symbol> hashSymbol) UnionNode(PlanNodeId id, List<PlanNode> sources, com.google.common.collect.ListMultimap<Symbol, Symbol> outputToInputs, List<Symbol> outputs) UnionNode(PlanNodeId id, List<PlanNode> sources, com.google.common.collect.ListMultimap<Symbol, Symbol> outputToInputs, List<Symbol> outputs) UnnestNode(PlanNodeId id, PlanNode source, List<Symbol> replicateSymbols, List<UnnestNode.Mapping> mappings, Optional<Symbol> ordinalitySymbol, JoinNode.Type joinType, Optional<Expression> filter) UnnestNode(PlanNodeId id, PlanNode source, List<Symbol> replicateSymbols, List<UnnestNode.Mapping> mappings, Optional<Symbol> ordinalitySymbol, JoinNode.Type joinType, Optional<Expression> filter) ValuesNode(PlanNodeId id, List<Symbol> outputSymbols, int rowCount, Optional<List<Expression>> rows) ValuesNode(PlanNodeId id, List<Symbol> outputSymbols, List<Expression> rows) Constructor of ValuesNode with non-empty output symbols listWindowNode(PlanNodeId id, PlanNode source, DataOrganizationSpecification specification, Map<Symbol, WindowNode.Function> windowFunctions, Optional<Symbol> hashSymbol, Set<Symbol> prePartitionedInputs, int preSortedOrderPrefix) WindowNode(PlanNodeId id, PlanNode source, DataOrganizationSpecification specification, Map<Symbol, WindowNode.Function> windowFunctions, Optional<Symbol> hashSymbol, Set<Symbol> prePartitionedInputs, int preSortedOrderPrefix) WindowNode(PlanNodeId id, PlanNode source, DataOrganizationSpecification specification, Map<Symbol, WindowNode.Function> windowFunctions, Optional<Symbol> hashSymbol, Set<Symbol> prePartitionedInputs, int preSortedOrderPrefix) -
Uses of Symbol in io.trino.sql.planner.planprinter
Methods in io.trino.sql.planner.planprinter that return SymbolMethods in io.trino.sql.planner.planprinter with parameters of type SymbolModifier and TypeMethodDescriptionMethod parameters in io.trino.sql.planner.planprinter with type arguments of type SymbolModifier and TypeMethodDescriptionstatic StringPlanPrinter.jsonFragmentPlan(PlanNode root, Map<Symbol, Type> symbols, Metadata metadata, FunctionManager functionManager, Session session) Constructors in io.trino.sql.planner.planprinter with parameters of type Symbol -
Uses of Symbol in io.trino.sql.planner.rowpattern
Methods in io.trino.sql.planner.rowpattern that return SymbolModifier and TypeMethodDescriptionAggregationValuePointer.getClassifierSymbol()ScalarValuePointer.getInputSymbol()AggregationValuePointer.getMatchNumberSymbol()Methods in io.trino.sql.planner.rowpattern that return types with arguments of type SymbolModifier and TypeMethodDescriptionLogicalIndexExtractor.ExpressionAndValuePointers.getClassifierSymbols()AggregationValuePointer.getInputSymbols()LogicalIndexExtractor.ExpressionAndValuePointers.getInputSymbols()LogicalIndexExtractor.ExpressionAndValuePointers.getLayout()LogicalIndexExtractor.ExpressionAndValuePointers.getMatchNumberSymbols()Methods in io.trino.sql.planner.rowpattern with parameters of type SymbolModifier and TypeMethodDescriptionstatic List<Expression> AggregateArgumentsRewriter.rewrite(List<Expression> arguments, Symbol classifierSymbol, Symbol matchNumberSymbol) This rewriter is dedicated for aggregation arguments in pattern recognition context.Method parameters in io.trino.sql.planner.rowpattern with type arguments of type SymbolModifier and TypeMethodDescriptionstatic booleanExpressionAndValuePointersEquivalence.equivalent(LogicalIndexExtractor.ExpressionAndValuePointers left, LogicalIndexExtractor.ExpressionAndValuePointers right, BiFunction<Symbol, Symbol, Boolean> symbolEquivalence) static booleanExpressionAndValuePointersEquivalence.equivalent(LogicalIndexExtractor.ExpressionAndValuePointers left, LogicalIndexExtractor.ExpressionAndValuePointers right, BiFunction<Symbol, Symbol, Boolean> symbolEquivalence) Constructors in io.trino.sql.planner.rowpattern with parameters of type SymbolModifierConstructorDescriptionAggregationValuePointer(ResolvedFunction function, AggregatedSetDescriptor setDescriptor, List<Expression> arguments, Symbol classifierSymbol, Symbol matchNumberSymbol) ScalarValuePointer(LogicalIndexPointer logicalIndexPointer, Symbol inputSymbol) Constructor parameters in io.trino.sql.planner.rowpattern with type arguments of type SymbolModifierConstructorDescriptionExpressionAndValuePointers(Expression expression, List<Symbol> layout, List<ValuePointer> valuePointers, Set<Symbol> classifierSymbols, Set<Symbol> matchNumberSymbols) ExpressionAndValuePointers(Expression expression, List<Symbol> layout, List<ValuePointer> valuePointers, Set<Symbol> classifierSymbols, Set<Symbol> matchNumberSymbols)