org.opends.server.backends.jeb
Class EntryIDSetSorter

java.lang.Object
  extended by org.opends.server.backends.jeb.EntryIDSetSorter

public class EntryIDSetSorter
extends java.lang.Object

This class provides a mechanism for sorting the contents of an entry ID set based on a given sort order.


Constructor Summary
EntryIDSetSorter()
           
 
Method Summary
static EntryIDSet sort(EntryContainer entryContainer, EntryIDSet entryIDSet, SearchOperation searchOperation, SortOrder sortOrder, VLVRequestControl vlvRequest)
          Creates a new entry ID set which is a sorted representation of the provided set using the given sort order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntryIDSetSorter

public EntryIDSetSorter()
Method Detail

sort

public static EntryIDSet sort(EntryContainer entryContainer,
                              EntryIDSet entryIDSet,
                              SearchOperation searchOperation,
                              SortOrder sortOrder,
                              VLVRequestControl vlvRequest)
                       throws DirectoryException
Creates a new entry ID set which is a sorted representation of the provided set using the given sort order.

Parameters:
entryContainer - The entry container with which the ID list is associated.
entryIDSet - The entry ID set to be sorted.
searchOperation - The search operation being processed.
sortOrder - The sort order to use for the entry ID set.
vlvRequest - The VLV request control included in the search request, or null if there was none.
Returns:
A new entry ID set which is a sorted representation of the provided set using the given sort order.
Throws:
DirectoryException - If an error occurs while performing the sort.