Toggle navigation
Home
com.facebook.presto.sql.planner.Symbol to java.lang.String
No. of Instances - 25
No. of Commits - 10
No. of Projects - {'presto'}
Hierarchy/Composition: Composition
Primitive Info: -
NameSpace: Internal -> Jdk
Mapping:
Rename Variable
symbols
to
arguments
symbols
to
arguments
redundantSymbolsBuilder
to
redundantVariablesBuilder
redundantSymbols
to
redundantVariables
expectedSymbols
to
expectedSymbolNames
expectedSymbols
to
expectedSymbolNames
symbol
to
symbolName
predicateSymbols
to
predicateVariables
inputs
to
inputNames
inputs
to
inputNames
Add or Remove Method invocation
symbol
to
symbol.getName()
canonical
to
canonical.getName()
mapping.get(new Symbol(canonical)).getName()
to
mapping.get(canonical)
outputSymbol
to
output.getName()
newSymbol
to
newVariable.getName()
((ConstantProperty<Symbol>)property).getColumn()
to
(ConstantProperty<VariableReferenceExpression>)property
(ConstantProperty<VariableReferenceExpression>)property
to
((ConstantProperty<VariableReferenceExpression>)property).getColumn().getName()
expectedAliases.stream().map(alias -> new Symbol(symbolAliases.get(alias).getName()))
to
expectedAliases.stream().map(alias -> symbolAliases.get(alias).getName())
Other
requireNonNull(mapping,"mapping is null")
to
requireNonNull(mapping,"mapping is null")
Cascading Type Change (Similar)
List<Symbol>
to
List<String>
Set<Symbol>
to
Set<String>
Rename Method invocation
aggregations.values().stream().map(AggregationNodeUtils::extractUnique).flatMap(Set::stream)
to
aggregations.values().stream().map(AggregationNodeUtils::extractUnique).flatMap(Set::stream).map(Symbol::getName)