Class WithItem
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
,ASTNodeAccess
,FromItem
,Statement
- See Also:
-
Field Summary
FieldsFields inherited from class net.sf.jsqlparser.statement.select.ParenthesedSelect
alias, pivot, select, unPivot
Fields inherited from class net.sf.jsqlparser.statement.select.Select
fetch, forClause, isolation, limit, limitBy, offset, oracleSiblings, orderByElements, withItemsList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(SelectVisitor visitor) addWithItemList
(Collection<? extends SelectItem<?>> withItemList) addWithItemList
(SelectItem<?>... withItemList) appendSelectBodyTo
(StringBuilder builder) List
<SelectItem<?>> TheSelectItem
s in this WITH (for example the A,B,C in "WITH mywith (A,B,C) AS ...")boolean
void
setRecursive
(boolean recursive) void
setWithItemList
(List<SelectItem<?>> withItemList) withRecursive
(boolean recursive) withWithItemList
(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, withSelect
Methods inherited from class net.sf.jsqlparser.statement.select.Select
accept, accept, addOrderByElements, addOrderByElements, addWithItemsList, addWithItemsList, appendStringListTo, appendTo, as, getFetch, getForClause, getFormattedList, getFormattedList, getIsolation, getLimit, getLimitBy, getOffset, getOrderByElements, getSelectBody, getStringList, getStringList, getWithItemsList, isOracleSiblings, orderByToString, orderByToString, setFetch, setForClause, setIsolation, setLimit, setLimitBy, setOffset, setOracleSiblings, setOrderByElements, setWithItemsList, toString, withFetch, withIsolation, withLimit, withLimitBy, withOffset, withOracleSiblings, withOrderByElements, withWithItemsList
Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
getASTNode, 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.parser.ASTNodeAccess
getASTNode, setASTNode
Methods inherited from interface net.sf.jsqlparser.statement.select.FromItem
withPivot, withUnPivot
-
Field Details
-
withItemList
-
recursive
private boolean recursive
-
-
Constructor Details
-
WithItem
public WithItem()
-
-
Method Details
-
isRecursive
public boolean isRecursive() -
setRecursive
public void setRecursive(boolean recursive) -
getWithItemList
TheSelectItem
s in this WITH (for example the A,B,C in "WITH mywith (A,B,C) AS ...")- Returns:
- a list of
SelectItem
s
-
setWithItemList
-
appendSelectBodyTo
- Overrides:
appendSelectBodyTo
in classParenthesedSelect
-
accept
- Overrides:
accept
in classParenthesedSelect
-
withWithItemList
-
withRecursive
-
addWithItemList
-
addWithItemList
-