public class OrderingMergedResultObjectProvider extends MergedResultObjectProvider
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
protected Object |
getOrderingValue(Object val,
int idx,
ResultObjectProvider rop)
Return the value to use for ordering on the given result value.
|
absolute, close, getResultObject, handleCheckedException, next, open, reset, size, supportsRandomAccess
public OrderingMergedResultObjectProvider(ResultObjectProvider[] rops, boolean[] asc, StoreQuery.Executor exec, StoreQuery q, Object[] params)
public OrderingMergedResultObjectProvider(ResultObjectProvider[] rops, boolean[] asc, StoreQuery.Executor[] execs, StoreQuery q, Object[] params)
protected Object getOrderingValue(Object val, int idx, ResultObjectProvider rop)
MergedResultObjectProvider
getOrderingValue
in class MergedResultObjectProvider
val
- the result valueidx
- the index of the result object provider in the array
given on construction that produced the result valuerop
- the result object provider that produced the result valueCopyright © 2006–2022 Apache Software Foundation. All rights reserved.