Package com.exasol.adapter.sql
Class SqlLiteralExactnumeric
- java.lang.Object
-
- com.exasol.adapter.sql.SqlNode
-
- com.exasol.adapter.sql.SqlLiteralExactnumeric
-
public class SqlLiteralExactnumeric extends SqlNode
-
-
Constructor Summary
Constructors Constructor Description SqlLiteralExactnumeric(BigDecimal value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(SqlNodeVisitor<R> visitor)SeeSqlNodeVisitorSqlNodeTypegetType()StringgetValue()Get a value of the exactnumeric converted to a plain string without E notation.
-
-
-
Constructor Detail
-
SqlLiteralExactnumeric
public SqlLiteralExactnumeric(BigDecimal value)
-
-
Method Detail
-
getValue
public String getValue()
Get a value of the exactnumeric converted to a plain string without E notation.For example: 1E-35 becomes 0.00000000000000000000000000000000001
- Returns:
- exactnumeric value as a string
-
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
-
-