Package com.exasol.adapter.sql
Class SqlLiteralDate
- java.lang.Object
-
- com.exasol.adapter.sql.SqlNode
-
- com.exasol.adapter.sql.SqlLiteralDate
-
public class SqlLiteralDate extends SqlNode
-
-
Constructor Summary
Constructors Constructor Description SqlLiteralDate(String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(SqlNodeVisitor<R> visitor)SeeSqlNodeVisitorSqlNodeTypegetType()StringgetValue()
-
-
-
Constructor Detail
-
SqlLiteralDate
public SqlLiteralDate(String value)
-
-
Method Detail
-
getValue
public String getValue()
- Returns:
- literal date value in format: YYYY-MM-DD
-
getType
public SqlNodeType getType()
-
accept
public <R> R accept(SqlNodeVisitor<R> visitor) throws AdapterException
Description copied from class:SqlNodeSeeSqlNodeVisitor- Specified by:
acceptin classSqlNode- Type Parameters:
R- generic SqlNodeVisitor type- Parameters:
visitor- The visitor object on which the appropriate visit(sqlNode) method is called- Returns:
- visited object
- Throws:
AdapterException- can be thrown
-
-