Package com.alibaba.druid.sql.ast
Class SQLPartitionValue
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.dialect.oracle.ast.OracleSegmentAttributesImpl
-
- com.alibaba.druid.sql.ast.SQLPartitionValue
-
- All Implemented Interfaces:
SQLObject,OracleSegmentAttributes
- Direct Known Subclasses:
GaussDbPartitionValue,ImpalaSQLPartitionValue
public class SQLPartitionValue extends OracleSegmentAttributesImpl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSQLPartitionValue.Operator
-
Field Summary
Fields Modifier and Type Field Description protected List<SQLExpr>itemsprotected SQLPartitionValue.Operatoroperator-
Fields inherited from class com.alibaba.druid.sql.dialect.oracle.ast.OracleSegmentAttributesImpl
storage, tablespace
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description SQLPartitionValue()SQLPartitionValue(SQLPartitionValue.Operator operator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(SQLASTVisitor visitor)voidaddItem(SQLExpr item)SQLPartitionValueclone()List<SQLExpr>getItems()SQLPartitionValue.OperatorgetOperator()-
Methods inherited from class com.alibaba.druid.sql.dialect.oracle.ast.OracleSegmentAttributesImpl
cloneTo, getCompress, getCompressLevel, getFreeLists, getInitrans, getLogging, getMaxtrans, getPctfree, getPctincrease, getPctthreshold, getPctused, getStorage, getTablespace, isCompressForOltp, setCompress, setCompressForOltp, setCompressLevel, setFreeLists, setInitrans, setLogging, setMaxtrans, setPctfree, setPctincrease, setPctthreshold, setPctused, setStorage, setTablespace
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLine, toString
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
-
-
-
Field Detail
-
operator
protected SQLPartitionValue.Operator operator
-
-
Constructor Detail
-
SQLPartitionValue
public SQLPartitionValue()
-
SQLPartitionValue
public SQLPartitionValue(SQLPartitionValue.Operator operator)
-
-
Method Detail
-
addItem
public void addItem(SQLExpr item)
-
getOperator
public SQLPartitionValue.Operator getOperator()
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Specified by:
accept0in classSQLObjectImpl
-
clone
public SQLPartitionValue clone()
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-
-