Class SQLTableSampling
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLTableSampling
- All Implemented Interfaces:
SQLObject,SQLReplaceable
-
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
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, putAttribute, setHint, setParent, setSourceColumn, setSourceLine, toString
-
Constructor Details
-
SQLTableSampling
public SQLTableSampling()
-
-
Method Details
-
clone
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-
getBucket
-
setBucket
-
getOutOf
-
setOutOf
-
getOn
-
setOn
-
getPercent
-
setPercent
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
replace
- Specified by:
replacein interfaceSQLReplaceable
-
getByteLength
-
setByteLength
-
getRows
-
setRows
-
isBernoulli
public boolean isBernoulli() -
setBernoulli
public void setBernoulli(boolean bernoulli) -
isSystem
public boolean isSystem() -
setSystem
public void setSystem(boolean system)
-