Class OrderingMergedResultObjectProvider

  • All Implemented Interfaces:
    org.apache.openjpa.lib.rop.ResultObjectProvider, org.apache.openjpa.lib.util.Closeable

    public class OrderingMergedResultObjectProvider
    extends org.apache.openjpa.lib.rop.MergedResultObjectProvider
    Merged result object provider specialization that extracts ordering values from results for comparison.
    Author:
    Abe White
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object getOrderingValue​(java.lang.Object val, int idx, org.apache.openjpa.lib.rop.ResultObjectProvider rop)  
      • Methods inherited from class org.apache.openjpa.lib.rop.MergedResultObjectProvider

        absolute, close, getResultObject, handleCheckedException, next, open, reset, size, supportsRandomAccess
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OrderingMergedResultObjectProvider

        public OrderingMergedResultObjectProvider​(org.apache.openjpa.lib.rop.ResultObjectProvider[] rops,
                                                  boolean[] asc,
                                                  StoreQuery.Executor exec,
                                                  StoreQuery q,
                                                  java.lang.Object[] params)
      • OrderingMergedResultObjectProvider

        public OrderingMergedResultObjectProvider​(org.apache.openjpa.lib.rop.ResultObjectProvider[] rops,
                                                  boolean[] asc,
                                                  StoreQuery.Executor[] execs,
                                                  StoreQuery q,
                                                  java.lang.Object[] params)
    • Method Detail

      • getOrderingValue

        protected java.lang.Object getOrderingValue​(java.lang.Object val,
                                                    int idx,
                                                    org.apache.openjpa.lib.rop.ResultObjectProvider rop)
        Overrides:
        getOrderingValue in class org.apache.openjpa.lib.rop.MergedResultObjectProvider