Class TConstant

Object
gudusoft.gsqlparser.nodes.TParseTreeNode
gudusoft.gsqlparser.nodes.TConstant
All Implemented Interfaces:
Visitable, Iterator<TSourceToken>

public class TConstant extends TParseTreeNode
SQL constant (sometimes called a literal) specifies a value. Constants are classified as:
  • string(text) constants
  • numeric constants,Numeric constants are further classified as integer, floating-point, or decimal
  • datetime constants
  • interval constants
  • boolean constants
getLiteralType() returns the type of this constant, getValueToken() returns the value of this constant. TParseTreeNode.toString() returns the text of this constant.