Package com.exasol.adapter.sql
Class SqlLiteralBool
- java.lang.Object
-
- com.exasol.adapter.sql.SqlNode
-
- com.exasol.adapter.sql.SqlLiteralBool
-
public class SqlLiteralBool extends SqlNode
Bool literal.
-
-
Constructor Summary
Constructors Constructor Description SqlLiteralBool(boolean value)Instantiates a new Sql literal bool.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(SqlNodeVisitor<R> visitor)SeeSqlNodeVisitorSqlNodeTypegetType()Gets type.booleangetValue()Gets value.StringtoString()
-
-
-
Method Detail
-
getValue
public boolean getValue()
Gets value.- Returns:
- the value
-
getType
public SqlNodeType getType()
Description copied from class:SqlNodeGets type.
-
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
-
-