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
public class SQLPartitionByRange extends SQLPartitionBy
-
-
Field Summary
Fields Modifier and Type Field Description protected booleandisableScheduleprotected SQLIntegerExprexpireAfterprotected SQLExprintervalprotected booleanisColumnsprotected SQLExprpivotDateExprprotected SQLIntegerExprpreAllocateprotected SQLExprstartWith-
Fields inherited from class com.alibaba.druid.sql.ast.SQLPartitionBy
auto, columns, lifeCycle, linear, logical, partitions, partitionsCount, storeIn, subPartitionBy
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description SQLPartitionByRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(SQLASTVisitor visitor)SQLPartitionByRangeclone()voidcloneTo(SQLPartitionByRange x)SQLIntegerExprgetExpireAfter()SQLExprgetInterval()SQLExprgetPivotDateExpr()SQLIntegerExprgetPreAllocate()SQLExprgetStartWith()booleanisColumns()booleanisDisableSchedule()voidsetColumns(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, getAuto, getColumns, getLifeCycle, getLogical, getPartitions, getPartitionsCount, getStoreIn, getSubPartitionBy, isLinear, isPartitionByColumn, setAuto, setLifeCycle, setLinear, setLogical, setPartitionsCount, setPartitionsCount, setSubPartitionBy
-
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
-
-
-
-
Field Detail
-
interval
protected SQLExpr interval
-
isColumns
protected boolean isColumns
-
startWith
protected SQLExpr startWith
-
expireAfter
protected SQLIntegerExpr expireAfter
-
preAllocate
protected SQLIntegerExpr preAllocate
-
pivotDateExpr
protected SQLExpr pivotDateExpr
-
disableSchedule
protected boolean disableSchedule
-
-
Method Detail
-
getInterval
public SQLExpr getInterval()
-
setInterval
public void setInterval(SQLExpr interval)
-
getStartWith
public SQLExpr getStartWith()
-
setStartWith
public void setStartWith(SQLExpr startWith)
-
getExpireAfter
public SQLIntegerExpr getExpireAfter()
-
setExpireAfter
public void setExpireAfter(SQLIntegerExpr expireAfter)
-
getPreAllocate
public SQLIntegerExpr getPreAllocate()
-
setPreAllocate
public void setPreAllocate(SQLIntegerExpr preAllocate)
-
getPivotDateExpr
public SQLExpr getPivotDateExpr()
-
setPivotDateExpr
public void setPivotDateExpr(SQLExpr pivotDateExpr)
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Specified by:
accept0in classSQLObjectImpl
-
clone
public SQLPartitionByRange clone()
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein classSQLPartitionBy
-
cloneTo
public void cloneTo(SQLPartitionByRange x)
-
isColumns
public boolean isColumns()
-
setColumns
public void setColumns(boolean columns)
-
isDisableSchedule
public boolean isDisableSchedule()
-
setDisableSchedule
public void setDisableSchedule(boolean disableSchedule)
-
-