public class Subquery extends Object implements StaticOperand, Subquery
| Modifier and Type | Field and Description |
|---|---|
static String |
VARIABLE_PREFIX |
| Constructor and Description |
|---|
Subquery(QueryCommand query)
Create a new subquery component that uses the supplied query as the subquery expression.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor visitor)
Accept the supplied visitor, which should call back to the visitor to complete the double-dispatch operation.
|
boolean |
equals(Object obj) |
QueryCommand |
getQuery()
Gets the
QueryCommand that makes up the subqery. |
int |
hashCode() |
static boolean |
isSubqueryVariableName(String variableName) |
String |
toString() |
public static final String VARIABLE_PREFIX
public Subquery(QueryCommand query)
query - the Command representing the subquery.public static boolean isSubqueryVariableName(String variableName)
public QueryCommand getQuery()
SubqueryQueryCommand that makes up the subqery.public void accept(Visitor visitor)
VisitableCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.