Class OracleSelectTableReference
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
-
- com.alibaba.druid.sql.ast.statement.SQLExprTableSource
-
- com.alibaba.druid.sql.dialect.oracle.ast.stmt.OracleSelectTableReference
-
- All Implemented Interfaces:
SQLObject,SQLReplaceable,SQLTableSource,OracleSelectTableSource
public class OracleSelectTableReference extends SQLExprTableSource implements OracleSelectTableSource
-
-
Field Summary
Fields Modifier and Type Field Description protected PartitionExtensionClausepartitionprotected SampleClausesampleClause-
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLExprTableSource
columns, expr, partitions, sampling, schemaObject
-
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
alias, aliasHashCode64, flashback, hints, needAsTokenForAlias, pivot, unpivot
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description OracleSelectTableReference()OracleSelectTableReference(SQLExpr expr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(OracleASTVisitor visitor)protected voidaccept0(SQLASTVisitor visitor)OracleSelectTableReferenceclone()booleanequals(Object o)PartitionExtensionClausegetPartition()SampleClausegetSampleClause()inthashCode()booleanisOnly()voidsetOnly(boolean only)voidsetPartition(PartitionExtensionClause partition)voidsetSampleClause(SampleClause sampleClause)StringtoString()-
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLExprTableSource
addPartition, aliasHashCode64, cloneTo, computeAlias, containsAlias, containsAlias, findColumn, findColumn, findTableSource, findTableSourceWithColumn, findTableSourceWithColumn, getCatalog, getColumns, getColumnsDirect, getExpr, getName, getPartitions, getPartitionSize, getSampling, getSchema, getSchemaObject, getTableName, getTableName, replace, resolveColumn, setCatalog, setCatalog, setExpr, setExpr, setSampling, setSchema, setSchemaObject, setSimpleName
-
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
findTableSource, findTableSourceWithColumn, findTableSourceWithColumn, getAlias, getAlias2, getFlashback, getHints, getHintsSize, getPivot, getUnpivot, isNeedAsTokenForAlias, setAlias, setFlashback, setHints, setNeedAsTokenForAlias, setPivot, setUnpivot
-
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
-
Methods inherited from class java.lang.Object
finalize, getClass, 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
-
Methods inherited from interface com.alibaba.druid.sql.ast.statement.SQLTableSource
aliasHashCode64, computeAlias, containsAlias, findColumn, findColumn, findTableSource, findTableSource, findTableSourceWithColumn, findTableSourceWithColumn, findTableSourceWithColumn, findTableSourceWithColumn, getAlias, getFlashback, getHints, getPivot, getUnpivot, resolveColum, resolveColumn, setAlias, setFlashback, setPivot, setUnpivot
-
-
-
-
Field Detail
-
partition
protected PartitionExtensionClause partition
-
sampleClause
protected SampleClause sampleClause
-
-
Constructor Detail
-
OracleSelectTableReference
public OracleSelectTableReference()
-
OracleSelectTableReference
public OracleSelectTableReference(SQLExpr expr)
-
-
Method Detail
-
getPartition
public PartitionExtensionClause getPartition()
-
setPartition
public void setPartition(PartitionExtensionClause partition)
-
isOnly
public boolean isOnly()
-
setOnly
public void setOnly(boolean only)
-
getSampleClause
public SampleClause getSampleClause()
-
setSampleClause
public void setSampleClause(SampleClause sampleClause)
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Overrides:
accept0in classSQLExprTableSource
-
accept0
protected void accept0(OracleASTVisitor visitor)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classSQLExprTableSource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSQLExprTableSource
-
toString
public String toString()
- Overrides:
toStringin classSQLObjectImpl
-
clone
public OracleSelectTableReference clone()
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLTableSource- Overrides:
clonein classSQLExprTableSource
-
-