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()
Subquery
QueryCommand
that makes up the subqery.public void accept(Visitor visitor)
Visitable
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.