org.gusdb.wdk.model
Class BooleanQueryInstance
java.lang.Object
org.gusdb.wdk.model.QueryInstance
org.gusdb.wdk.model.BooleanQueryInstance
public class BooleanQueryInstance
- extends QueryInstance
BooleanQueryInstance.java
Instance instantiated by a BooleanQuery. Takes Answers as values for its
parameters along with a boolean operation, and returns a result.
Created: Wed May 19 15:11:30 2004
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanQueryInstance
public BooleanQueryInstance(BooleanQuery query)
setValues
public void setValues(java.util.Map values)
throws WdkUserException,
WdkModelException
- Overrides:
setValues in class QueryInstance
- Parameters:
values - Map where the keys are the names for BooleanQuery
parameters found as static variables in BooleanQuery, and the
values are the expected values for those parameters (Answers for
the two AnswerParam and the name of the boolean operation for the
StringParam). Columns are set at this time for the BooleanQuery
this instance points to.
- Throws:
WdkUserException
WdkModelException
getResult
public ResultList getResult()
throws WdkModelException
- Specified by:
getResult in class QueryInstance
- Throws:
WdkModelException
getSqlForCache
public java.lang.String getSqlForCache()
throws WdkModelException
- Throws:
WdkModelException
getCacheValues
public java.util.Collection getCacheValues()
throws WdkModelException
- Specified by:
getCacheValues in class QueryInstance
- Throws:
WdkModelException
getLowLevelQuery
public java.lang.String getLowLevelQuery()
throws WdkModelException
- Specified by:
getLowLevelQuery in class QueryInstance
- Throws:
WdkModelException
getPersistentResultPage
public ResultList getPersistentResultPage(int startRow,
int endRow)
throws WdkModelException
- Specified by:
getPersistentResultPage in class QueryInstance
- Throws:
WdkModelException
getResultAsTableName
public java.lang.String getResultAsTableName()
throws WdkModelException
- Specified by:
getResultAsTableName in class QueryInstance
- Throws:
WdkModelException