Class SQLExprImpl

java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLExprImpl
All Implemented Interfaces:
SQLExpr, SQLObject, Cloneable
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

public abstract class SQLExprImpl extends SQLObjectImpl implements SQLExpr
  • 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

      public abstract boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public abstract int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public abstract SQLExpr clone()
      Specified by:
      clone in interface SQLExpr
      Specified by:
      clone in interface SQLObject
      Overrides:
      clone in class SQLObjectImpl
    • cloneTo

      protected void cloneTo(SQLExprImpl x)
    • computeDataType

      public SQLDataType computeDataType()
      Specified by:
      computeDataType in interface SQLExpr
      Overrides:
      computeDataType in class SQLObjectImpl
    • getChildren

      public List<SQLObject> getChildren()
      Specified by:
      getChildren in interface SQLExpr