|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ucsb.nceas.metacat.QueryGroup
public class QueryGroup
a utility class that represents a group of terms in a query
| Constructor Summary | |
|---|---|
QueryGroup(java.lang.String operator)
construct a new QueryGroup |
|
| Method Summary | |
|---|---|
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)
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QueryGroup(java.lang.String operator)
operator - the boolean conector used to connect query terms
in this query group| Method Detail |
|---|
public 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)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||