Package io.prestosql.sql.relational
Class ConstantExpression
- java.lang.Object
-
- io.prestosql.sql.relational.RowExpression
-
- io.prestosql.sql.relational.ConstantExpression
-
public final class ConstantExpression extends RowExpression
-
-
Constructor Summary
Constructors Constructor Description ConstantExpression(Object value, Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(RowExpressionVisitor<R,C> visitor, C context)
boolean
equals(Object obj)
Type
getType()
Object
getValue()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
getValue
public Object getValue()
-
getType
public Type getType()
- Specified by:
getType
in classRowExpression
-
toString
public String toString()
- Specified by:
toString
in classRowExpression
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classRowExpression
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in classRowExpression
-
accept
public <R,C> R accept(RowExpressionVisitor<R,C> visitor, C context)
- Specified by:
accept
in classRowExpression
-
-