Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.queryframework
Class CursorPolicy

java.lang.Object
  extended byoracle.toplink.internal.queryframework.ContainerPolicy
      extended byoracle.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

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 oracle.toplink.internal.queryframework.ContainerPolicy
addInto, addInto, addIntoWithOrder, addIntoWithOrder, addIntoWithOrder, buildContainerFromVector, buildPolicyFor, clear, clone, cloneFor, compareKeys, concatenateContainers, containerInstance, containerInstance, contains, getContainerClass, getElementDescriptor, hasElementDescriptor, hasOrder, initializeConstructor, isCollectionPolicy, isCursorStreamPolicy, isEmpty, isListPolicy, isMapPolicy, isValidContainer, isValidContainerType, keyFrom, next, prepareForExecution, removeAllElements, removeFrom, removeFrom, removeFromWithOrder, setContainerClass, setElementDescriptor, setKeyMethod, toString, validateElementAndRehashIfRequired, vectorFor

Methods inherited from class java.lang.Object
equals, 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.

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.

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.