org.gusdb.wdk.model.implementation
Class SqlQueryInstance
java.lang.Object
org.gusdb.wdk.model.QueryInstance
org.gusdb.wdk.model.implementation.SqlQueryInstance
public class SqlQueryInstance
- extends QueryInstance
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlQueryInstance
public SqlQueryInstance(SqlQuery query)
getSql
public java.lang.String getSql()
throws WdkModelException
- Returns:
- Sql to run. If join mode, it is modified for joining
- Throws:
WdkModelException
getResultAsTableName
public java.lang.String getResultAsTableName()
throws WdkModelException
- Specified by:
getResultAsTableName in class QueryInstance
- Returns:
- Full name of table containing result
- Throws:
WdkModelException
getResult
public ResultList getResult()
throws WdkModelException
- Specified by:
getResult in class QueryInstance
- Throws:
WdkModelException
getPersistentResultPage
public ResultList getPersistentResultPage(int startRow,
int endRow)
throws WdkModelException
- Specified by:
getPersistentResultPage 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