Package com.alibaba.druid.sql.ast
Class SQLSubPartitionBy
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.SQLSubPartitionBy
-
- All Implemented Interfaces:
SQLObject
- Direct Known Subclasses:
MySqlSubPartitionByKey,MySqlSubPartitionByList,MySqlSubPartitionByValue,SQLSubPartitionByHash,SQLSubPartitionByList,SQLSubPartitionByRange
public abstract class SQLSubPartitionBy extends SQLObjectImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected SQLIntegerExprlifecycleprotected booleanlinearprotected List<SQLAssignItem>optionsprotected SQLExprsubPartitionsCountprotected List<SQLSubPartition>subPartitionTemplate-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description SQLSubPartitionBy()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract SQLSubPartitionByclone()voidcloneTo(SQLSubPartitionBy x)SQLIntegerExprgetLifecycle()List<SQLAssignItem>getOptions()SQLExprgetSubPartitionsCount()List<SQLSubPartition>getSubPartitionTemplate()booleanisLinear()booleanisPartitionByColumn(long columnNameHashCode64)voidsetLifecycle(SQLIntegerExpr lifecycle)voidsetLinear(boolean linear)voidsetSubPartitionsCount(SQLExpr x)-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, accept0, 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
-
subPartitionsCount
protected SQLExpr subPartitionsCount
-
linear
protected boolean linear
-
options
protected List<SQLAssignItem> options
-
subPartitionTemplate
protected List<SQLSubPartition> subPartitionTemplate
-
lifecycle
protected SQLIntegerExpr lifecycle
-
-
Method Detail
-
getSubPartitionsCount
public SQLExpr getSubPartitionsCount()
-
setSubPartitionsCount
public void setSubPartitionsCount(SQLExpr x)
-
isLinear
public boolean isLinear()
-
setLinear
public void setLinear(boolean linear)
-
getOptions
public List<SQLAssignItem> getOptions()
-
getSubPartitionTemplate
public List<SQLSubPartition> getSubPartitionTemplate()
-
cloneTo
public void cloneTo(SQLSubPartitionBy x)
-
getLifecycle
public SQLIntegerExpr getLifecycle()
-
setLifecycle
public void setLifecycle(SQLIntegerExpr lifecycle)
-
isPartitionByColumn
public boolean isPartitionByColumn(long columnNameHashCode64)
-
clone
public abstract SQLSubPartitionBy clone()
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-
-