Package com.alibaba.druid.sql.template
Class SQLSelectQueryTemplate
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.template.SQLSelectQueryTemplate
-
- All Implemented Interfaces:
SQLObject,SQLSelectQuery
public class SQLSelectQueryTemplate extends SQLObjectImpl implements SQLSelectQuery
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description SQLSelectQueryTemplate()SQLSelectQueryTemplate(String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(SQLASTVisitor v)SQLSelectQueryTemplateclone()StringgetText()booleanisParenthesized()voidsetParenthesized(boolean parenthesized)-
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, toString
-
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
-
-
-
-
Constructor Detail
-
SQLSelectQueryTemplate
public SQLSelectQueryTemplate()
-
SQLSelectQueryTemplate
public SQLSelectQueryTemplate(String text)
-
-
Method Detail
-
getText
public String getText()
-
accept0
protected void accept0(SQLASTVisitor v)
- Specified by:
accept0in classSQLObjectImpl
-
isParenthesized
public boolean isParenthesized()
- Specified by:
isParenthesizedin interfaceSQLSelectQuery
-
setParenthesized
public void setParenthesized(boolean parenthesized)
- Specified by:
setParenthesizedin interfaceSQLSelectQuery
-
clone
public SQLSelectQueryTemplate clone()
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLSelectQuery- Overrides:
clonein classSQLObjectImpl
-
-