Package com.alibaba.druid.sql.ast.expr
Class SQLInListExpr
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLExprImpl
com.alibaba.druid.sql.ast.expr.SQLInListExpr
- All Implemented Interfaces:
SQLExpr,SQLObject,SQLReplaceable,Serializable,Cloneable
- See Also:
-
Field Summary
FieldsFields inherited from class com.alibaba.druid.sql.ast.SQLExprImpl
parenthesizedFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, parent, sourceColumn, sourceLine -
Constructor Summary
ConstructorsConstructorDescriptionSQLInListExpr(SQLExpr expr) SQLInListExpr(SQLExpr expr, boolean not) SQLInListExpr(String expr, String... values) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaccept0(SQLASTVisitor visitor) voidvoidclone()booleangetExpr()getHint()inthashCode()booleanisNot()booleanvoidvoidsetHint(SQLCommentHint hint) voidsetNot(boolean not) voidsetTargetList(List<SQLExpr> targetList) booleanMethods inherited from class com.alibaba.druid.sql.ast.SQLExprImpl
isParenthesized, setParenthesizedMethods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSourceColumn, setSourceLine, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
-
Field Details
-
hint
-
-
Constructor Details
-
SQLInListExpr
public SQLInListExpr() -
SQLInListExpr
-
SQLInListExpr
-
SQLInListExpr
-
-
Method Details
-
clone
-
isNot
public boolean isNot() -
setNot
public void setNot(boolean not) -
getExpr
-
setExpr
-
addTarget
-
addTarget
-
getTargetList
-
sortTargetList
public boolean sortTargetList() -
setTargetList
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
getChildren
- Specified by:
getChildrenin interfaceSQLExpr- Overrides:
getChildrenin classSQLExprImpl
-
hashCode
public int hashCode()- Specified by:
hashCodein classSQLExprImpl
-
equals
- Specified by:
equalsin classSQLExprImpl
-
computeDataType
- Specified by:
computeDataTypein interfaceSQLExpr- Overrides:
computeDataTypein classSQLExprImpl
-
replace
- Specified by:
replacein interfaceSQLReplaceable
-
getHint
- Specified by:
getHintin interfaceSQLExpr- Overrides:
getHintin classSQLObjectImpl
-
setHint
- Overrides:
setHintin classSQLObjectImpl
-