| java.lang.Object com.versant.core.jdbc.JdbcQueryResult
All known Subclasses: com.versant.core.jdbc.ejbql.JdbcQueryResultEJBQL,
Inner Class :public class ColFHKey | |
Method Summary | |
public boolean | absolute(int index) | public boolean | addNextResult(ApplicationContext context, QueryResultContainer results, int fetchAmount) Get fetchAmount of data if possible. | public void | cancel() | public void | close() Close these results. | public void | doParallelFetch(boolean forUpdate, StateContainer container) | public void | getAbsolute(ApplicationContext context, QueryResultContainer qContainer, int index, int fetchAmount) | public void | getAllResults(ApplicationContext context, QueryResultContainer container, boolean forUpdate) | public CompiledQuery | getCompiledQuery() | public FgDs | getFgDs() | public int | getFieldData(FieldMetaData fmd, ResultSet rs, int firstCol, Object[] dataRow, int dataIndex) | public JdbcCompiledQuery | getJdbcCompiledQuery() | public Object[] | getParams() | public QueryDetails | getQueryDetails() | public int | getRelativeResultCount() | public int | getResultCount() | public OID | getResultOID() Get the OID for the current result. | public State | getResultState(boolean forUpdate, StateContainer container) Get the State for the current result. | public RunningQuery | getRunningQuery() | public void | init(ClassMetaData cmd, boolean scrollable) | public boolean | isCacheble() | public boolean | isCachedResultsOk() If the cache can be checked for results represented by this query. | public boolean | isClosed() | public boolean | isEJBQLHack() | public boolean | isFinished() | public boolean | isNotStarted() | public boolean | isRandomAccess() | public boolean | next(int skip) Are there more results? Calling this advances to the next result if
there is one and returns true otherwise it returns false. | public boolean | nextBatch(ApplicationContext context, int skipAmount, QueryResultContainer qContainer) Get the next batch of results. | public void | resetRelativeResultCount() | public void | setNonCacheble() If at any stage it is detected that the results may not be cached this
this method is called. | public void | setParams(Object[] params) | public void | setQResult(QueryResultContainer qContainer) | public void | updateCacheble() This is called to recheck if this results is still cacheble. |
absolute | public boolean absolute(int index)(Code) | | |
cancel | public void cancel()(Code) | | |
close | public void close()(Code) | | Close these results.
|
getRelativeResultCount | public int getRelativeResultCount()(Code) | | |
getResultCount | public int getResultCount()(Code) | | |
getResultOID | public OID getResultOID()(Code) | | Get the OID for the current result. This may only be called once
per result and must be called before getResultState.
|
getResultState | public State getResultState(boolean forUpdate, StateContainer container)(Code) | | Get the State for the current result. This may only be called once
per result and may only be called if getResultOID has been called.
See Also: JdbcQueryResult.getResultOID |
isCacheble | public boolean isCacheble()(Code) | | |
isCachedResultsOk | public boolean isCachedResultsOk()(Code) | | If the cache can be checked for results represented by this query.
|
isClosed | public boolean isClosed()(Code) | | |
isEJBQLHack | public boolean isEJBQLHack()(Code) | | Todo get rid of this horrible hack when we refactor all the query stuff
|
isFinished | public boolean isFinished()(Code) | | |
isNotStarted | public boolean isNotStarted()(Code) | | |
isRandomAccess | public boolean isRandomAccess()(Code) | | |
next | public boolean next(int skip)(Code) | | Are there more results? Calling this advances to the next result if
there is one and returns true otherwise it returns false.
|
resetRelativeResultCount | public void resetRelativeResultCount()(Code) | | |
setNonCacheble | public void setNonCacheble()(Code) | | If at any stage it is detected that the results may not be cached this
this method is called.
|
updateCacheble | public void updateCacheble()(Code) | | This is called to recheck if this results is still cacheble.
|
|
|