public class WithItem extends Object implements SelectBody
Constructor and Description |
---|
WithItem() |
Modifier and Type | Method and Description |
---|---|
void |
accept(SelectVisitor visitor) |
String |
getName()
The name of this WITH item (for example, "myWITH" in "WITH myWITH AS (SELECT A,B,C))"
|
SelectBody |
getSelectBody()
The
SelectBody of this WITH item is the part after the "AS" keyword |
List<SelectItem> |
getWithItemList()
The
SelectItem s in this WITH (for example the A,B,C in "WITH mywith (A,B,C) AS ...") |
boolean |
isRecursive() |
void |
setName(String name) |
void |
setRecursive(boolean recursive) |
void |
setSelectBody(SelectBody selectBody) |
void |
setWithItemList(List<SelectItem> withItemList) |
String |
toString() |
public String getName()
public void setName(String name)
public boolean isRecursive()
public void setRecursive(boolean recursive)
public SelectBody getSelectBody()
SelectBody
of this WITH item is the part after the "AS" keywordSelectBody
of this WITH itempublic void setSelectBody(SelectBody selectBody)
public List<SelectItem> getWithItemList()
SelectItem
s in this WITH (for example the A,B,C in "WITH mywith (A,B,C) AS ...")SelectItem
spublic void setWithItemList(List<SelectItem> withItemList)
public void accept(SelectVisitor visitor)
accept
in interface SelectBody
Copyright © 2004–2017 JSQLParser. All rights reserved.