Package io.trino.sql.planner.plan
Class Assignments
java.lang.Object
io.trino.sql.planner.plan.Assignments
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Assignments.Builderbuilder()static AssignmentscopyOf(Map<Symbol, Expression> assignments) entrySet()booleanfilter(Collection<Symbol> symbols) voidforEach(BiConsumer<Symbol, Expression> consumer) getMap()inthashCode()static Assignmentsstatic AssignmentsbooleanisEmpty()booleanbooleanisIdentity(Symbol output) static Assignmentsof()static Assignmentsof(Symbol symbol, Expression expression) static Assignmentsof(Symbol symbol1, Expression expression1, Symbol symbol2, Expression expression2) static Assignmentsof(Collection<? extends Expression> expressions, Session session, SymbolAllocator symbolAllocator, IrTypeAnalyzer typeAnalyzer) rewrite(Function<Expression, Expression> rewrite) intsize()
-
Constructor Details
-
Assignments
-
-
Method Details
-
builder
-
identity
-
identity
-
copyOf
-
of
-
of
-
of
public static Assignments of(Symbol symbol1, Expression expression1, Symbol symbol2, Expression expression2) -
of
public static Assignments of(Collection<? extends Expression> expressions, Session session, SymbolAllocator symbolAllocator, IrTypeAnalyzer typeAnalyzer) -
getOutputs
-
getMap
-
rewrite
-
filter
-
filter
-
isIdentity
-
isIdentity
public boolean isIdentity() -
getExpressions
-
getSymbols
-
entrySet
-
get
-
size
public int size() -
isEmpty
public boolean isEmpty() -
forEach
-
equals
-
hashCode
public int hashCode()
-