Skip navigation links

Oracle TopLink Java API Reference
10g Release 3 (10.1.3.1)

B28219-01


oracle.toplink.queryframework
Class CursorPolicy

java.lang.Object
  extended byContainerPolicy
      extended byoracle.toplink.queryframework.CursorPolicy

Direct Known Subclasses:
CursoredStreamPolicy, ScrollableCursorPolicy

public abstract class CursorPolicy
extends 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 isCursoredStreamPolicy()
           
 boolean isCursorPolicy()
           
 boolean isScrollableCursorPolicy()
           
 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 java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, 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.

isCursoredStreamPolicy

public boolean isCursoredStreamPolicy()

isCursorPolicy

public boolean isCursorPolicy()

isScrollableCursorPolicy

public boolean isScrollableCursorPolicy()

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, 2006, Oracle. All Rights Reserved.