org.apache.openjpa.jdbc.kernel
Interface LRSSizes

All Known Subinterfaces:
JDBCFetchConfiguration, JDBCFetchPlan
All Known Implementing Classes:
DelegatingJDBCFetchConfiguration, JDBCFetchConfigurationImpl, JDBCFetchPlanImpl

public interface LRSSizes

Ways of calculating the size of large result sets.

Author:
Abe White

Field Summary
static int SIZE_LAST
          Mode for using ResultSet.last() to calcualte the size of large result sets.
static int SIZE_QUERY
          Mode for using a query to calculate the size of large result sets.
static int SIZE_UNKNOWN
          Mode for returning Integer.MAX_VALUE for the size of large result sets.
 

Field Detail

SIZE_UNKNOWN

static final int SIZE_UNKNOWN
Mode for returning Integer.MAX_VALUE for the size of large result sets.

See Also:
Constant Field Values

SIZE_LAST

static final int SIZE_LAST
Mode for using ResultSet.last() to calcualte the size of large result sets.

See Also:
Constant Field Values

SIZE_QUERY

static final int SIZE_QUERY
Mode for using a query to calculate the size of large result sets.

See Also:
Constant Field Values


Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.