Package com.exasol.adapter.sql
Class SqlLiteralString
- java.lang.Object
-
- com.exasol.adapter.sql.SqlNode
-
- com.exasol.adapter.sql.SqlLiteralString
-
public class SqlLiteralString extends SqlNode
String literal.
-
-
Constructor Summary
Constructors Constructor Description SqlLiteralString(String value)
Instantiates a new Sql literal string.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
accept(SqlNodeVisitor<R> visitor)
SeeSqlNodeVisitor
boolean
equals(Object object)
SqlNodeType
getType()
Gets type.String
getValue()
Gets value.int
hashCode()
-
-
-
Constructor Detail
-
SqlLiteralString
public SqlLiteralString(String value)
Instantiates a new Sql literal string.- Parameters:
value
- the value
-
-
Method Detail
-
getValue
public String getValue()
Gets value.- Returns:
- the value
-
getType
public SqlNodeType getType()
Description copied from class:SqlNode
Gets type.
-
accept
public <R> R accept(SqlNodeVisitor<R> visitor) throws AdapterException
Description copied from class:SqlNode
SeeSqlNodeVisitor
- Specified by:
accept
in 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
-
-