Package com.exasol.adapter.sql
Class SqlPredicateBetween
- java.lang.Object
-
- com.exasol.adapter.sql.SqlNode
-
- com.exasol.adapter.sql.SqlPredicate
-
- com.exasol.adapter.sql.SqlPredicateBetween
-
public class SqlPredicateBetween extends SqlPredicate
Between predicate.
-
-
Constructor Summary
Constructors Constructor Description SqlPredicateBetween(SqlNode expression, SqlNode betweenLeft, SqlNode betweenRight)
Instantiates a new Sql predicate between.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
accept(SqlNodeVisitor<R> visitor)
SeeSqlNodeVisitor
SqlNode
getBetweenLeft()
Gets between left.SqlNode
getBetweenRight()
Gets between right.SqlNode
getExpression()
Gets expression.SqlNodeType
getType()
Gets type.-
Methods inherited from class com.exasol.adapter.sql.SqlPredicate
getFunction
-
-
-
-
Method Detail
-
getExpression
public SqlNode getExpression()
Gets expression.- Returns:
- the expression
-
getBetweenLeft
public SqlNode getBetweenLeft()
Gets between left.- Returns:
- the between left
-
getBetweenRight
public SqlNode getBetweenRight()
Gets between right.- Returns:
- the between right
-
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
-
-