Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-02


oracle.toplink.queryframework
Class CursorPolicy

java.lang.Object
  extended by oracle.toplink.internal.queryframework.ContainerPolicy
      extended by oracle.toplink.queryframework.CursorPolicy

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
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

Method Summary
 int getPageSize()
          Return the number of elements to be read into a cursored stream when more elements are needed from the database.
 boolean isCursorPolicy()
           
 void setPageSize(int pageSize)
          Set the number of elements to be read into a cursored stream when more elements are needed from the database.

 

Methods inherited from class oracle.toplink.internal.queryframework.ContainerPolicy
clone, isCollectionPolicy, isCursoredStreamPolicy, isDirectMapPolicy, isListPolicy, isMapPolicy, isScrollableCursorPolicy, prepareForExecution, recordAddToCollectionInChangeRecord, recordRemoveFromCollectionInChangeRecord, toString

 

Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Method Detail

getPageSize

public int getPageSize()
Return the number of elements to be read into a cursored stream when more elements are needed from the database.

isCursorPolicy

public boolean isCursorPolicy()
Overrides:
isCursorPolicy 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.

Skip navigation links

Copyright © 1998, 2009, Oracle. All Rights Reserved.