Package com.alibaba.druid.sql.ast
Class SQLExprImpl
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLExprImpl
- Direct Known Subclasses:
HiveInputOutputFormat,ModelClause.CellAssignment,OdpsTransformExpr,OracleCursorExpr,OracleIntervalExpr,OracleIsOfTypeExpr,OracleIsSetExpr,OracleOuterExpr,PGExprImpl,SQLAllColumnExpr,SQLAllExpr,SQLAnyExpr,SQLArrayExpr,SQLAssignItem,SQLBetweenExpr,SQLBinaryExpr,SQLBinaryOpExpr,SQLBinaryOpExprGroup,SQLBooleanExpr,SQLCaseExpr,SQLCastExpr,SQLContainsExpr,SQLCurrentOfCursorExpr,SQLCurrentTimeExpr,SQLCurrentUserExpr,SQLDataTypeRefExpr,SQLDateExpr,SQLDateTimeExpr,SQLDbLinkExpr,SQLDefaultExpr,SQLExistsExpr,SQLExtractExpr,SQLFlashbackExpr,SQLGroupingSetExpr,SQLHexExpr,SQLIdentifierExpr,SQLInListExpr,SQLInSubQueryExpr,SQLIntervalExpr,SQLJSONExpr,SQLJSONValueExpr,SQLListExpr,SQLMatchAgainstExpr,SQLMethodInvokeExpr,SQLNotExpr,SQLNullExpr,SQLNumericLiteralExpr,SQLPatternExpr,SQLPropertyExpr,SQLQueryExpr,SQLSequenceExpr,SQLSizeExpr,SQLSomeExpr,SQLStructExpr,SQLTextLiteralExpr,SQLTimeExpr,SQLTimestampExpr,SQLUnaryExpr,SQLValuesExpr,SQLVariantRefExpr
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected intFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SQLExprclone()protected voidabstract booleanintabstract inthashCode()voidbooleanvoidsetParenthesized(boolean parenthesized) voidsetParenthesizedCount(int parenthesizedCount) Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, accept0, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, 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, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
Field Details
-
parenthesized
protected boolean parenthesized -
parenthesizedCount
protected int parenthesizedCount
-
-
Constructor Details
-
SQLExprImpl
public SQLExprImpl()
-
-
Method Details
-
isParenthesized
public boolean isParenthesized() -
setParenthesized
public void setParenthesized(boolean parenthesized) -
getParenthesizedCount
public int getParenthesizedCount() -
setParenthesizedCount
public void setParenthesizedCount(int parenthesizedCount) -
increaseParenthesizedCount
public void increaseParenthesizedCount() -
equals
-
hashCode
public abstract int hashCode() -
clone
-
cloneTo
-
computeDataType
- Specified by:
computeDataTypein interfaceSQLExpr- Overrides:
computeDataTypein classSQLObjectImpl
-
getChildren
- Specified by:
getChildrenin interfaceSQLExpr
-