oracle.toplink.queryframework
Class CursorPolicy
java.lang.Object
|
+--oracle.toplink.internal.queryframework.ContainerPolicy
|
+--oracle.toplink.queryframework.CursorPolicy
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- Direct Known Subclasses:
- CursoredStreamPolicy, ScrollableCursorPolicy
- public abstract class CursorPolicy
- extends oracle.toplink.internal.queryframework.ContainerPolicy
Purpose:
Abstract class for all Cursor-related policy objects
- See Also:
- Serialized Form
Methods inherited from class oracle.toplink.internal.queryframework.ContainerPolicy |
clone, isCollectionPolicy, isCursorStreamPolicy, isListPolicy, isMapPolicy, prepareForExecution, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getPageSize
public int getPageSize()
- Return the number of elements to be read into a cursored stream
when more elements are needed from the database.
isCursoredStreamPolicy
public boolean isCursoredStreamPolicy()
- Description copied from class:
oracle.toplink.internal.queryframework.ContainerPolicy
- Is this a Cursored stream?
- Overrides:
isCursoredStreamPolicy
in class oracle.toplink.internal.queryframework.ContainerPolicy
isCursorPolicy
public boolean isCursorPolicy()
- Overrides:
isCursorPolicy
in class oracle.toplink.internal.queryframework.ContainerPolicy
isScrollableCursorPolicy
public boolean isScrollableCursorPolicy()
- Overrides:
isScrollableCursorPolicy
in class oracle.toplink.internal.queryframework.ContainerPolicy
setPageSize
public void setPageSize(int pageSize)
- Set the number of elements to be read into a cursored stream
when more elements are needed from the database.