Package io.prestosql.sql.tree
Class GenericLiteral
- java.lang.Object
-
- io.prestosql.sql.tree.Node
-
- io.prestosql.sql.tree.Expression
-
- io.prestosql.sql.tree.Literal
-
- io.prestosql.sql.tree.GenericLiteral
-
public final class GenericLiteral extends Literal
-
-
Constructor Summary
Constructors Constructor Description GenericLiteral(NodeLocation location, java.lang.String type, java.lang.String value)GenericLiteral(java.lang.String type, java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(AstVisitor<R,C> visitor, C context)Accessible forAstVisitor, useAstVisitor.process(Node, Object)instead.booleanequals(java.lang.Object obj)java.lang.StringgetType()java.lang.StringgetValue()inthashCode()-
Methods inherited from class io.prestosql.sql.tree.Literal
getChildren
-
Methods inherited from class io.prestosql.sql.tree.Expression
toString
-
Methods inherited from class io.prestosql.sql.tree.Node
getLocation
-
-
-
-
Constructor Detail
-
GenericLiteral
public GenericLiteral(java.lang.String type, java.lang.String value)
-
GenericLiteral
public GenericLiteral(NodeLocation location, java.lang.String type, java.lang.String value)
-
-
Method Detail
-
getType
public java.lang.String getType()
-
getValue
public java.lang.String getValue()
-
accept
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
Description copied from class:ExpressionAccessible forAstVisitor, useAstVisitor.process(Node, Object)instead.
-
-