Class SampleClause
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.dialect.oracle.ast.OracleSQLObjectImpl
-
- com.alibaba.druid.sql.dialect.oracle.ast.clause.SampleClause
-
- All Implemented Interfaces:
SQLObject,SQLReplaceable,OracleSQLObject
public class SampleClause extends OracleSQLObjectImpl implements SQLReplaceable
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description SampleClause()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept0(OracleASTVisitor visitor)voidaddPercent(SQLExpr x)SampleClauseclone()List<SQLExpr>getPercent()SQLExprgetSeedValue()booleanisBlock()booleanreplace(SQLExpr expr, SQLExpr target)voidsetBlock(boolean block)voidsetSeedValue(SQLExpr seedValue)-
Methods inherited from class com.alibaba.druid.sql.dialect.oracle.ast.OracleSQLObjectImpl
accept0, computeDataType, toString
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLine
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
-
-
-
Method Detail
-
isBlock
public boolean isBlock()
-
setBlock
public void setBlock(boolean block)
-
addPercent
public void addPercent(SQLExpr x)
-
getSeedValue
public SQLExpr getSeedValue()
-
setSeedValue
public void setSeedValue(SQLExpr seedValue)
-
accept0
public void accept0(OracleASTVisitor visitor)
- Specified by:
accept0in interfaceOracleSQLObject- Specified by:
accept0in classOracleSQLObjectImpl
-
clone
public SampleClause clone()
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classOracleSQLObjectImpl
-
replace
public boolean replace(SQLExpr expr, SQLExpr target)
- Specified by:
replacein interfaceSQLReplaceable
-
-