Package com.alibaba.druid.sql.ast
Class SQLSubPartitionByHash
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLSubPartitionBy
com.alibaba.druid.sql.ast.SQLSubPartitionByHash
- All Implemented Interfaces:
SQLObject
-
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.SQLSubPartitionBy
lifecycle, linear, options, subPartitionsCount, subPartitionTemplate
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()
getExpr()
boolean
isKey()
boolean
isPartitionByColumn
(long columnNameHashCode64) void
void
setKey
(boolean key) Methods inherited from class com.alibaba.druid.sql.ast.SQLSubPartitionBy
cloneTo, getLifecycle, getOptions, getSubPartitionsCount, getSubPartitionTemplate, isLinear, setLifecycle, setLinear, setSubPartitionsCount
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
-
expr
-
-
Constructor Details
-
SQLSubPartitionByHash
public SQLSubPartitionByHash()
-
-
Method Details
-
getExpr
-
setExpr
-
accept0
- Specified by:
accept0
in classSQLObjectImpl
-
isKey
public boolean isKey() -
setKey
public void setKey(boolean key) -
clone
- Specified by:
clone
in interfaceSQLObject
- Specified by:
clone
in classSQLSubPartitionBy
-
isPartitionByColumn
public boolean isPartitionByColumn(long columnNameHashCode64) - Overrides:
isPartitionByColumn
in classSQLSubPartitionBy
-