|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.queryframework.DatabaseQuery oracle.toplink.queryframework.ReadQuery oracle.toplink.queryframework.DataReadQuery oracle.toplink.queryframework.DirectReadQuery
public class DirectReadQuery
Purpose: Concrete class to perform a direct read.
Responsibilities: Used in conjunction with DirectCollectionMapping. This can be used to read a single column of data (i.e. one field). A container (implementing Collection) of the data values is returned.
Field Summary |
---|
Fields inherited from class oracle.toplink.queryframework.DatabaseQuery |
---|
CascadeAggregateDelete, CascadeAllParts, CascadeByMapping, CascadeDependentParts, CascadePrivateParts, NoCascading |
Constructor Summary | |
---|---|
DirectReadQuery()
Initialize the state of the query. |
|
DirectReadQuery(Call call)
Initialize the query to use the specified call. |
|
DirectReadQuery(java.lang.String sqlString)
Initialize the query to use the specified SQL string. |
Method Summary | |
---|---|
Converter |
getValueConverter()
Return the converter on the query. |
boolean |
isDirectReadQuery()
Return if this is a direct read query. |
void |
setValueConverter(Converter valueConverter)
Set the converter on the query. |
Methods inherited from class oracle.toplink.queryframework.DataReadQuery |
---|
getContainerPolicy, isDataReadQuery, setContainerPolicy, useCollectionClass, useCursoredStream, useCursoredStream, useCursoredStream, useScrollableCursor, useScrollableCursor, useScrollableCursor |
Methods inherited from class oracle.toplink.queryframework.ReadQuery |
---|
cacheQueryResults, clearQueryResults, clearQueryResults, doNotCacheQueryResults, getFetchSize, getFirstResult, getMaxRows, getQueryResultsCachePolicy, isReadQuery, setFetchSize, setFirstResult, setMaxRows, setQueryResultsCachePolicy, setShouldCacheQueryResults, shouldCacheQueryResults |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DirectReadQuery()
public DirectReadQuery(java.lang.String sqlString)
public DirectReadQuery(Call call)
Method Detail |
---|
public Converter getValueConverter()
public void setValueConverter(Converter valueConverter)
public boolean isDirectReadQuery()
isDirectReadQuery
in class DatabaseQuery
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |