- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.statement.select.Select
-
- net.sf.jsqlparser.statement.select.ParenthesedSelect
-
- net.sf.jsqlparser.statement.select.WithItem
-
- All Implemented Interfaces:
Serializable,Expression,Model,net.sf.jsqlparser.parser.ASTNodeAccess,FromItem,Statement
public class WithItem extends ParenthesedSelect
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class net.sf.jsqlparser.statement.select.Select
forUpdateTable
-
-
Constructor Summary
Constructors Constructor Description WithItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,S>
Taccept(SelectVisitor<T> selectVisitor, S context)WithItemaddWithItemList(Collection<? extends SelectItem<?>> withItemList)WithItemaddWithItemList(SelectItem<?>... withItemList)StringBuilderappendSelectBodyTo(StringBuilder builder)List<SelectItem<?>>getWithItemList()TheSelectItems in this WITH (for example the A,B,C in "WITH mywith (A,B,C) AS ...")booleanisRecursive()voidsetRecursive(boolean recursive)voidsetWithItemList(List<SelectItem<?>> withItemList)WithItemwithRecursive(boolean recursive)WithItemwithWithItemList(List<SelectItem<?>> withItemList)-
Methods inherited from class net.sf.jsqlparser.statement.select.ParenthesedSelect
accept, getAlias, getPivot, getPlainSelect, getSelect, getSetOperationList, getUnPivot, getValues, setAlias, setPivot, setSelect, setUnPivot, withAlias, withOrderByElements, withSelect
-
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
-
-
-
-
Method Detail
-
isRecursive
public boolean isRecursive()
-
setRecursive
public void setRecursive(boolean recursive)
-
getWithItemList
public List<SelectItem<?>> getWithItemList()
TheSelectItems in this WITH (for example the A,B,C in "WITH mywith (A,B,C) AS ...")- Returns:
- a list of
SelectItems
-
setWithItemList
public void setWithItemList(List<SelectItem<?>> withItemList)
-
appendSelectBodyTo
public StringBuilder appendSelectBodyTo(StringBuilder builder)
- Overrides:
appendSelectBodyToin classParenthesedSelect
-
accept
public <T,S> T accept(SelectVisitor<T> selectVisitor, S context)
- Overrides:
acceptin classParenthesedSelect
-
withWithItemList
public WithItem withWithItemList(List<SelectItem<?>> withItemList)
-
withRecursive
public WithItem withRecursive(boolean recursive)
-
addWithItemList
public WithItem addWithItemList(SelectItem<?>... withItemList)
-
addWithItemList
public WithItem addWithItemList(Collection<? extends SelectItem<?>> withItemList)
-
-