Package io.prestosql.sql.planner
Class Partitioning.ArgumentBinding
- java.lang.Object
-
- io.prestosql.sql.planner.Partitioning.ArgumentBinding
-
- Enclosing class:
- Partitioning
@Immutable public static final class Partitioning.ArgumentBinding extends Object
-
-
Constructor Summary
Constructors Constructor Description ArgumentBinding(Expression expression, NullableValue constant)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Partitioning.ArgumentBinding
constantBinding(NullableValue constant)
boolean
equals(Object o)
static Partitioning.ArgumentBinding
expressionBinding(Expression expression)
Symbol
getColumn()
NullableValue
getConstant()
Expression
getExpression()
int
hashCode()
boolean
isConstant()
boolean
isVariable()
String
toString()
Optional<Partitioning.ArgumentBinding>
translate(Partitioning.Translator translator)
Partitioning.ArgumentBinding
translate(Function<Symbol,Symbol> translator)
-
-
-
Constructor Detail
-
ArgumentBinding
public ArgumentBinding(Expression expression, NullableValue constant)
-
-
Method Detail
-
expressionBinding
public static Partitioning.ArgumentBinding expressionBinding(Expression expression)
-
constantBinding
public static Partitioning.ArgumentBinding constantBinding(NullableValue constant)
-
isConstant
public boolean isConstant()
-
isVariable
public boolean isVariable()
-
getColumn
public Symbol getColumn()
-
getExpression
public Expression getExpression()
-
getConstant
public NullableValue getConstant()
-
translate
public Partitioning.ArgumentBinding translate(Function<Symbol,Symbol> translator)
-
translate
public Optional<Partitioning.ArgumentBinding> translate(Partitioning.Translator translator)
-
-