- 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,FromItem,Statement
- Direct Known Subclasses:
LateralSubSelect,WithItem
public class ParenthesedSelect extends Select implements FromItem
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class net.sf.jsqlparser.statement.select.Select
forUpdateTable
-
-
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)StringBuilderappendSelectBodyTo(StringBuilder builder)AliasgetAlias()PivotgetPivot()PlainSelectgetPlainSelect()SelectgetSelect()SetOperationListgetSetOperationList()UnPivotgetUnPivot()ValuesgetValues()voidsetAlias(Alias alias)voidsetPivot(Pivot pivot)voidsetSelect(Select select)voidsetUnPivot(UnPivot unPivot)ParenthesedSelectwithAlias(Alias alias)ParenthesedSelectwithOrderByElements(List<OrderByElement> orderByElements)ParenthesedSelectwithSelect(Select selectBody)-
Methods inherited from class net.sf.jsqlparser.statement.select.Select
accept, 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, withPivot, withUnPivot
-
-
-
-
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
-
withAlias
public ParenthesedSelect withAlias(Alias alias)
-
getUnPivot
public UnPivot getUnPivot()
- Specified by:
getUnPivotin interfaceFromItem
-
setUnPivot
public void setUnPivot(UnPivot unPivot)
- Specified by:
setUnPivotin interfaceFromItem
-
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)
-
appendSelectBodyTo
public StringBuilder appendSelectBodyTo(StringBuilder builder)
- Specified by:
appendSelectBodyToin classSelect
-
-