org.apache.openjpa.persistence.jdbc
Class JDBCFetchPlan

java.lang.Object
  extended by org.apache.openjpa.persistence.FetchPlan
      extended by org.apache.openjpa.persistence.jdbc.JDBCFetchPlan
All Implemented Interfaces:
org.apache.openjpa.jdbc.kernel.EagerFetchModes, org.apache.openjpa.jdbc.kernel.LRSSizes, org.apache.openjpa.jdbc.sql.JoinSyntaxes

public class JDBCFetchPlan
extends org.apache.openjpa.persistence.FetchPlan
implements org.apache.openjpa.jdbc.kernel.EagerFetchModes, org.apache.openjpa.jdbc.kernel.LRSSizes, org.apache.openjpa.jdbc.sql.JoinSyntaxes

JDBC extensions to the fetch plan.

Since:
4.0
Author:
Abe White

Field Summary
 
Fields inherited from class org.apache.openjpa.persistence.FetchPlan
DEFAULT, DEPTH_INFINITE, GROUP_ALL, GROUP_DEFAULT
 
Fields inherited from interface org.apache.openjpa.jdbc.kernel.EagerFetchModes
EAGER_JOIN, EAGER_NONE, EAGER_PARALLEL
 
Fields inherited from interface org.apache.openjpa.jdbc.kernel.LRSSizes
SIZE_LAST, SIZE_QUERY, SIZE_UNKNOWN
 
Fields inherited from interface org.apache.openjpa.jdbc.sql.JoinSyntaxes
SYNTAX_DATABASE, SYNTAX_SQL92, SYNTAX_TRADITIONAL
 
Constructor Summary
JDBCFetchPlan(org.apache.openjpa.kernel.FetchConfiguration fetch)
          Constructor; supply delegate.
 
Method Summary
 int getEagerFetchMode()
           
 int getFetchDirection()
           
 int getJoinSyntax()
           
 int getLRSSize()
           
 int getResultSetType()
           
 int getSubclassFetchMode()
           
protected  org.apache.openjpa.kernel.DelegatingFetchConfiguration newDelegatingFetchConfiguration(org.apache.openjpa.kernel.FetchConfiguration fetch)
           
 JDBCFetchPlan setEagerFetchMode(int mode)
           
 JDBCFetchPlan setFetchDirection(int direction)
           
 JDBCFetchPlan setJoinSyntax(int syntax)
           
 JDBCFetchPlan setLRSSize(int lrsSize)
           
 JDBCFetchPlan setResultSetType(int type)
           
 JDBCFetchPlan setSubclassFetchMode(int mode)
           
 
Methods inherited from class org.apache.openjpa.persistence.FetchPlan
addFetchGroup, addFetchGroups, addFetchGroups, addField, addField, addFields, addFields, addFields, addFields, clearFetchGroups, clearFields, equals, getDelegate, getFetchBatchSize, getFetchGroups, getFields, getLockTimeout, getMaxFetchDepth, getQueryResultCache, getReadLockMode, getWriteLockMode, hasField, hasField, hashCode, removeFetchGroup, removeFetchGroups, removeFetchGroups, removeField, removeField, removeFields, removeFields, removeFields, removeFields, resetFetchGroups, setFetchBatchSize, setLockTimeout, setMaxFetchDepth, setQueryResultCache, setReadLockMode, setWriteLockMode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCFetchPlan

public JDBCFetchPlan(org.apache.openjpa.kernel.FetchConfiguration fetch)
Constructor; supply delegate.

Method Detail

newDelegatingFetchConfiguration

protected org.apache.openjpa.kernel.DelegatingFetchConfiguration newDelegatingFetchConfiguration(org.apache.openjpa.kernel.FetchConfiguration fetch)
Overrides:
newDelegatingFetchConfiguration in class org.apache.openjpa.persistence.FetchPlan

getEagerFetchMode

public int getEagerFetchMode()

setEagerFetchMode

public JDBCFetchPlan setEagerFetchMode(int mode)

getSubclassFetchMode

public int getSubclassFetchMode()

setSubclassFetchMode

public JDBCFetchPlan setSubclassFetchMode(int mode)

getResultSetType

public int getResultSetType()

setResultSetType

public JDBCFetchPlan setResultSetType(int type)

getFetchDirection

public int getFetchDirection()

setFetchDirection

public JDBCFetchPlan setFetchDirection(int direction)

getLRSSize

public int getLRSSize()

setLRSSize

public JDBCFetchPlan setLRSSize(int lrsSize)

getJoinSyntax

public int getJoinSyntax()

setJoinSyntax

public JDBCFetchPlan setJoinSyntax(int syntax)


Copyright © 2006 Apache Software Foundation. All Rights Reserved.