Package com.exasol.adapter.sql
Class SqlPredicateInConstList
- java.lang.Object
-
- com.exasol.adapter.sql.SqlNode
-
- com.exasol.adapter.sql.SqlPredicate
-
- com.exasol.adapter.sql.SqlPredicateInConstList
-
public class SqlPredicateInConstList extends SqlPredicate
-
-
Constructor Summary
Constructors Constructor Description SqlPredicateInConstList(SqlNode expression, List<SqlNode> inArguments)
Create a new instance ofSqlPredicateInConstList
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
accept(SqlNodeVisitor<R> visitor)
SeeSqlNodeVisitor
SqlNode
getExpression()
List<SqlNode>
getInArguments()
SqlNodeType
getType()
-
Methods inherited from class com.exasol.adapter.sql.SqlPredicate
getFunction
-
-
-
-
Constructor Detail
-
SqlPredicateInConstList
public SqlPredicateInConstList(SqlNode expression, List<SqlNode> inArguments)
Create a new instance ofSqlPredicateInConstList
.- Parameters:
expression
- For <exp> IN (...) this stores <exp>inArguments
- arguments inside the brackets
-
-
Method Detail
-
getExpression
public SqlNode getExpression()
-
getType
public SqlNodeType getType()
-
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
-
-