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,SQLPropertyExpr,SQLQueryExpr,SQLSequenceExpr,SQLSizeExpr,SQLSomeExpr,SQLTextLiteralExpr,SQLTimeExpr,SQLTimestampExpr,SQLUnaryExpr,SQLValuesExpr,SQLVariantRefExpr
-
Field Summary
FieldsFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SQLExprclone()abstract booleanabstract inthashCode()booleanvoidsetParenthesized(boolean parenthesized) Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, accept0, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, 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, putAttribute, setParent
-
Field Details
-
parenthesized
protected boolean parenthesized
-
-
Constructor Details
-
SQLExprImpl
public SQLExprImpl()
-
-
Method Details
-
isParenthesized
public boolean isParenthesized() -
setParenthesized
public void setParenthesized(boolean parenthesized) -
equals
-
hashCode
public abstract int hashCode() -
clone
-
computeDataType
- Specified by:
computeDataTypein interfaceSQLExpr- Overrides:
computeDataTypein classSQLObjectImpl
-
getChildren
- Specified by:
getChildrenin interfaceSQLExpr
-