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
Modifier and TypeFieldDescriptionprotected boolean
protected SQLIntegerExpr
protected SQLExpr
protected boolean
protected SQLExpr
protected SQLIntegerExpr
protected SQLExpr
Fields inherited from class com.alibaba.druid.sql.ast.SQLPartitionBy
columns, lifecycle, linear, partitions, partitionsCount, storeIn, subPartitionBy
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
accept0
(SQLASTVisitor visitor) clone()
void
boolean
boolean
void
setColumns
(boolean columns) void
setDisableSchedule
(boolean disableSchedule) void
setExpireAfter
(SQLIntegerExpr expireAfter) void
setInterval
(SQLExpr interval) void
setPivotDateExpr
(SQLExpr pivotDateExpr) void
setPreAllocate
(SQLIntegerExpr preAllocate) void
setStartWith
(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, setSubPartitionBy
Methods 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:
accept0
in classSQLObjectImpl
-
clone
- Specified by:
clone
in interfaceSQLObject
- Specified by:
clone
in classSQLPartitionBy
-
cloneTo
-
isColumns
public boolean isColumns() -
setColumns
public void setColumns(boolean columns) -
isDisableSchedule
public boolean isDisableSchedule() -
setDisableSchedule
public void setDisableSchedule(boolean disableSchedule)
-