- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.statement.select.Select
-
- net.sf.jsqlparser.statement.select.ParenthesedSelect
-
- All Implemented Interfaces:
Serializable,Expression,Model,net.sf.jsqlparser.parser.ASTNodeAccess,ParenthesedStatement,FromItem,Statement
- Direct Known Subclasses:
LateralSubSelect
public class ParenthesedSelect extends Select implements FromItem, ParenthesedStatement
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class net.sf.jsqlparser.statement.select.Select
forUpdateTable, withItemsList
-
-
Constructor Summary
Constructors Constructor Description ParenthesedSelect()ParenthesedSelect(Collection<Expression> selectExpressions, FromItem fromItem)ParenthesedSelect(Collection<Expression> selectExpressions, FromItem fromItem, Collection<Expression> orderByExpressions)ParenthesedSelect(Collection<Expression> selectExpressions, FromItem fromItem, Expression whereExpressions)ParenthesedSelect(Collection<Expression> selectExpressions, FromItem fromItem, Expression whereExpressions, Collection<Expression> orderByExpressions)ParenthesedSelect(FromItem fromItem)ParenthesedSelect(FromItem fromItem, Collection<Expression> orderByExpressions)ParenthesedSelect(FromItem fromItem, Expression whereExpressions)ParenthesedSelect(FromItem fromItem, Expression whereExpressions, Collection<Expression> orderByExpressions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,S>
Taccept(FromItemVisitor<T> fromItemVisitor, S context)<T,S>
Taccept(SelectVisitor<T> selectVisitor, S context)<T,S>
Taccept(StatementVisitor<T> statementVisitor, S context)StringBuilderappendSelectBodyTo(StringBuilder builder)AliasgetAlias()PivotgetPivot()PlainSelectgetPlainSelect()SampleClausegetSampleClause()SelectgetSelect()SetOperationListgetSetOperationList()UnPivotgetUnPivot()ValuesgetValues()voidsetAlias(Alias alias)voidsetPivot(Pivot pivot)FromItemsetSampleClause(SampleClause sampleClause)voidsetSelect(Select select)voidsetUnPivot(UnPivot unPivot)ParenthesedSelectwithAlias(Alias alias)ParenthesedSelectwithOrderByElements(List<OrderByElement> orderByElements)ParenthesedSelectwithSampleClause(SampleClause sampleClause)ParenthesedSelectwithSelect(Select selectBody)-
Methods inherited from class net.sf.jsqlparser.statement.select.Select
accept, addOrderByElements, addOrderByElements, addOrderByElements, addOrderByExpressions, addWithItemsList, addWithItemsList, appendStringListTo, appendTo, as, getFetch, getForClause, getFormattedList, getFormattedList, getForMode, getForUpdateTable, getIsolation, getLimit, getLimitBy, getOffset, getOrderByElements, getSelectBody, getStringList, getStringList, getWait, getWithItemsList, isNoWait, isOracleSiblings, isSkipLocked, orderByToString, orderByToString, setFetch, setForClause, setForMode, setForUpdateTable, setIsolation, setLimit, setLimitBy, setNoWait, setOffset, setOracleSiblings, setOrderByElements, setSkipLocked, setWait, setWithItemsList, toString, withFetch, withForMode, withForUpdateTable, withIsolation, withLimit, withLimitBy, withOffset, withOracleSiblings, withSkipLocked, withWait, withWithItemsList
-
Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
getASTNode, getParent, getParent, setASTNode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.jsqlparser.expression.Expression
accept
-
Methods inherited from interface net.sf.jsqlparser.statement.select.FromItem
accept, appendTo, appendTo, withPivot, withUnPivot
-
Methods inherited from interface net.sf.jsqlparser.statement.ParenthesedStatement
accept
-
-
-
-
Constructor Detail
-
ParenthesedSelect
public ParenthesedSelect()
-
ParenthesedSelect
public ParenthesedSelect(FromItem fromItem)
-
ParenthesedSelect
public ParenthesedSelect(FromItem fromItem, Expression whereExpressions)
-
ParenthesedSelect
public ParenthesedSelect(FromItem fromItem, Collection<Expression> orderByExpressions)
-
ParenthesedSelect
public ParenthesedSelect(FromItem fromItem, Expression whereExpressions, Collection<Expression> orderByExpressions)
-
ParenthesedSelect
public ParenthesedSelect(Collection<Expression> selectExpressions, FromItem fromItem)
-
ParenthesedSelect
public ParenthesedSelect(Collection<Expression> selectExpressions, FromItem fromItem, Expression whereExpressions)
-
ParenthesedSelect
public ParenthesedSelect(Collection<Expression> selectExpressions, FromItem fromItem, Collection<Expression> orderByExpressions)
-
ParenthesedSelect
public ParenthesedSelect(Collection<Expression> selectExpressions, FromItem fromItem, Expression whereExpressions, Collection<Expression> orderByExpressions)
-
-
Method Detail
-
getAlias
public Alias getAlias()
-
setAlias
public void setAlias(Alias alias)
-
withAlias
public ParenthesedSelect withAlias(Alias alias)
-
getPivot
public Pivot getPivot()
-
setPivot
public void setPivot(Pivot pivot)
-
getUnPivot
public UnPivot getUnPivot()
- Specified by:
getUnPivotin interfaceFromItem- Overrides:
getUnPivotin classSelect
-
setUnPivot
public void setUnPivot(UnPivot unPivot)
- Specified by:
setUnPivotin interfaceFromItem- Overrides:
setUnPivotin classSelect
-
getSampleClause
public SampleClause getSampleClause()
- Specified by:
getSampleClausein interfaceFromItem
-
setSampleClause
public FromItem setSampleClause(SampleClause sampleClause)
- Specified by:
setSampleClausein interfaceFromItem
-
withSampleClause
public ParenthesedSelect withSampleClause(SampleClause sampleClause)
-
getSelect
public Select getSelect()
-
setSelect
public void setSelect(Select select)
-
getPlainSelect
public PlainSelect getPlainSelect()
- Overrides:
getPlainSelectin classSelect
-
getSetOperationList
public SetOperationList getSetOperationList()
- Overrides:
getSetOperationListin classSelect
-
withSelect
public ParenthesedSelect withSelect(Select selectBody)
-
withOrderByElements
public ParenthesedSelect withOrderByElements(List<OrderByElement> orderByElements)
- Overrides:
withOrderByElementsin classSelect
-
accept
public <T,S> T accept(SelectVisitor<T> selectVisitor, S context)
-
accept
public <T,S> T accept(FromItemVisitor<T> fromItemVisitor, S context)
-
accept
public <T,S> T accept(StatementVisitor<T> statementVisitor, S context)
-
appendSelectBodyTo
public StringBuilder appendSelectBodyTo(StringBuilder builder)
- Overrides:
appendSelectBodyToin classSelect
-
-