Package com.alibaba.druid.sql.ast
Class SQLPartitionByRange
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLPartitionBy
com.alibaba.druid.sql.ast.SQLPartitionByRange
- All Implemented Interfaces:
SQLObject
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected SQLIntegerExprprotected SQLExprprotected booleanprotected SQLExprprotected SQLIntegerExprprotected SQLExprFields inherited from class com.alibaba.druid.sql.ast.SQLPartitionBy
columns, lifecycle, linear, partitions, partitionsCount, storeIn, subPartitionByFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaccept0(SQLASTVisitor visitor) clone()voidbooleanbooleanvoidsetColumns(boolean columns) voidsetDisableSchedule(boolean disableSchedule) voidsetExpireAfter(SQLIntegerExpr expireAfter) voidsetInterval(SQLExpr interval) voidsetPivotDateExpr(SQLExpr pivotDateExpr) voidsetPreAllocate(SQLIntegerExpr preAllocate) voidsetStartWith(SQLExpr startWith) Methods inherited from class com.alibaba.druid.sql.ast.SQLPartitionBy
addColumn, addPartition, cloneTo, getColumns, getLifecycle, getPartitions, getPartitionsCount, getStoreIn, getSubPartitionBy, isLinear, isPartitionByColumn, setLifecycle, setLinear, setPartitionsCount, setPartitionsCount, setSubPartitionByMethods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine, toString
-
Field Details
-
interval
-
isColumns
protected boolean isColumns -
startWith
-
expireAfter
-
preAllocate
-
pivotDateExpr
-
disableSchedule
protected boolean disableSchedule
-
-
Constructor Details
-
SQLPartitionByRange
public SQLPartitionByRange()
-
-
Method Details
-
getInterval
-
setInterval
-
getStartWith
-
setStartWith
-
getExpireAfter
-
setExpireAfter
-
getPreAllocate
-
setPreAllocate
-
getPivotDateExpr
-
setPivotDateExpr
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
clone
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein classSQLPartitionBy
-
cloneTo
-
isColumns
public boolean isColumns() -
setColumns
public void setColumns(boolean columns) -
isDisableSchedule
public boolean isDisableSchedule() -
setDisableSchedule
public void setDisableSchedule(boolean disableSchedule)
-