Package com.alibaba.druid.sql.ast.expr
Class SQLExistsExpr
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLExprImpl
com.alibaba.druid.sql.ast.expr.SQLExistsExpr
- All Implemented Interfaces:
SQLExpr,SQLObject,Serializable,Cloneable
- See Also:
-
Field Summary
FieldsFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
ConstructorsConstructorDescriptionSQLExistsExpr(SQLSelect subQuery) SQLExistsExpr(SQLSelect subQuery, boolean not) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaccept0(SQLASTVisitor visitor) clone()booleaninthashCode()booleanisNot()voidsetNot(boolean not) voidsetSubQuery(SQLSelect subQuery) Methods inherited from class com.alibaba.druid.sql.ast.SQLExprImpl
computeDataTypeMethods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, 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, output, putAttribute, setParent
-
Field Details
-
not
public boolean not -
subQuery
-
-
Constructor Details
-
SQLExistsExpr
public SQLExistsExpr() -
SQLExistsExpr
-
SQLExistsExpr
-
-
Method Details
-
isNot
public boolean isNot() -
setNot
public void setNot(boolean not) -
getSubQuery
-
setSubQuery
-
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
-
clone
-