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> Raccept(SqlNodeVisitor<R> visitor)SeeSqlNodeVisitorSqlNodegetBetweenLeft()Gets between left.SqlNodegetBetweenRight()Gets between right.SqlNodegetExpression()Gets expression.SqlNodeTypegetType()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: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
-
-