public class QueryGroup
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
INTERSECT  | 
static java.lang.String | 
UNION  | 
| Constructor and Description | 
|---|
QueryGroup(java.lang.String operator)
construct a new QueryGroup 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addChild(QueryGroup qgroup)
Add a child QueryGroup to this QueryGroup 
 | 
void | 
addChild(QueryTerm qterm)
Add a child QueryTerm to this QueryGroup 
 | 
int | 
getPercentageSymbolCount()  | 
java.lang.String | 
printSQL(boolean useXMLIndex,
        java.util.List<java.lang.Object> parameterValues)
create a SQL serialization of the query that this instance represents 
 | 
java.lang.String | 
toString()
create a String description of the query that this instance represents. 
 | 
public static java.lang.String UNION
public static java.lang.String INTERSECT
public QueryGroup(java.lang.String operator)
operator - the boolean conector used to connect query terms
                    in this query grouppublic void addChild(QueryGroup qgroup)
qgroup - the query group to be added to the list of termspublic void addChild(QueryTerm qterm)
qterm - the query term to be added to the list of termspublic int getPercentageSymbolCount()
public java.lang.String printSQL(boolean useXMLIndex,
                                 java.util.List<java.lang.Object> parameterValues)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2020 Regents of the University of California. All Rights Reserved.