Package org.apache.openjpa.kernel
Class OrderingMergedResultObjectProvider
- java.lang.Object
-
- org.apache.openjpa.lib.rop.MergedResultObjectProvider
-
- org.apache.openjpa.kernel.OrderingMergedResultObjectProvider
-
- All Implemented Interfaces:
ResultObjectProvider
,Closeable
public class OrderingMergedResultObjectProvider extends MergedResultObjectProvider
Merged result object provider specialization that extracts ordering values from results for comparison.- Author:
- Abe White
-
-
Constructor Summary
Constructors Constructor Description OrderingMergedResultObjectProvider(ResultObjectProvider[] rops, boolean[] asc, StoreQuery.Executor[] execs, StoreQuery q, Object[] params)
OrderingMergedResultObjectProvider(ResultObjectProvider[] rops, boolean[] asc, StoreQuery.Executor exec, StoreQuery q, Object[] params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
getOrderingValue(Object val, int idx, ResultObjectProvider rop)
-
Methods inherited from class org.apache.openjpa.lib.rop.MergedResultObjectProvider
absolute, close, getResultObject, handleCheckedException, next, open, reset, size, supportsRandomAccess
-
-
-
-
Constructor Detail
-
OrderingMergedResultObjectProvider
public OrderingMergedResultObjectProvider(ResultObjectProvider[] rops, boolean[] asc, StoreQuery.Executor exec, StoreQuery q, Object[] params)
-
OrderingMergedResultObjectProvider
public OrderingMergedResultObjectProvider(ResultObjectProvider[] rops, boolean[] asc, StoreQuery.Executor[] execs, StoreQuery q, Object[] params)
-
-
Method Detail
-
getOrderingValue
protected Object getOrderingValue(Object val, int idx, ResultObjectProvider rop)
- Overrides:
getOrderingValue
in classMergedResultObjectProvider
-
-