Class InExpression
- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.expression.operators.relational.InExpression
-
- All Implemented Interfaces:
java.io.Serializable
,Expression
,SupportsOldOracleJoinSyntax
,Model
,ASTNodeAccess
public class InExpression extends ASTNodeAccessImpl implements Expression, SupportsOldOracleJoinSyntax
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
global
private Expression
leftExpression
private boolean
not
private int
oldOracleJoinSyntax
private Expression
rightExpression
-
Fields inherited from interface net.sf.jsqlparser.expression.operators.relational.SupportsOldOracleJoinSyntax
NO_ORACLE_JOIN, NO_ORACLE_PRIOR, ORACLE_JOIN_LEFT, ORACLE_JOIN_RIGHT, ORACLE_PRIOR_END, ORACLE_PRIOR_START
-
-
Constructor Summary
Constructors Constructor Description InExpression()
InExpression(Expression leftExpression, Expression rightExpression)
-
Method Summary
-
Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
appendTo, getASTNode, setASTNode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.jsqlparser.parser.ASTNodeAccess
getASTNode, setASTNode
-
-
-
-
Field Detail
-
leftExpression
private Expression leftExpression
-
global
private boolean global
-
not
private boolean not
-
rightExpression
private Expression rightExpression
-
oldOracleJoinSyntax
private int oldOracleJoinSyntax
-
-
Constructor Detail
-
InExpression
public InExpression()
-
InExpression
public InExpression(Expression leftExpression, Expression rightExpression)
-
-
Method Detail
-
setOldOracleJoinSyntax
public void setOldOracleJoinSyntax(int oldOracleJoinSyntax)
- Specified by:
setOldOracleJoinSyntax
in interfaceSupportsOldOracleJoinSyntax
-
getOldOracleJoinSyntax
public int getOldOracleJoinSyntax()
- Specified by:
getOldOracleJoinSyntax
in interfaceSupportsOldOracleJoinSyntax
-
getLeftExpression
public Expression getLeftExpression()
-
withLeftExpression
public InExpression withLeftExpression(Expression expression)
-
setLeftExpression
public final void setLeftExpression(Expression expression)
-
isGlobal
public boolean isGlobal()
-
setGlobal
public InExpression setGlobal(boolean b)
-
isNot
public boolean isNot()
-
setNot
public void setNot(boolean b)
-
getRightExpression
public Expression getRightExpression()
-
setRightExpression
public void setRightExpression(Expression rightExpression)
-
accept
public void accept(ExpressionVisitor expressionVisitor)
- Specified by:
accept
in interfaceExpression
-
getLeftExpressionString
private java.lang.String getLeftExpressionString()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getOraclePriorPosition
public int getOraclePriorPosition()
- Specified by:
getOraclePriorPosition
in interfaceSupportsOldOracleJoinSyntax
-
setOraclePriorPosition
public void setOraclePriorPosition(int priorPosition)
- Specified by:
setOraclePriorPosition
in interfaceSupportsOldOracleJoinSyntax
-
withRightExpression
public InExpression withRightExpression(Expression rightExpression)
-
withOldOracleJoinSyntax
public InExpression withOldOracleJoinSyntax(int oldOracleJoinSyntax)
- Specified by:
withOldOracleJoinSyntax
in interfaceSupportsOldOracleJoinSyntax
-
withOraclePriorPosition
public InExpression withOraclePriorPosition(int priorPosition)
- Specified by:
withOraclePriorPosition
in interfaceSupportsOldOracleJoinSyntax
-
withGlobal
public InExpression withGlobal(boolean global)
-
withNot
public InExpression withNot(boolean not)
-
getLeftExpression
public <E extends Expression> E getLeftExpression(java.lang.Class<E> type)
-
getRightExpression
public <E extends Expression> E getRightExpression(java.lang.Class<E> type)
-
-