Oracle Fusion Middleware
Oracle WebLogic Server 10.3.1 API Reference
11g Release 1 (10.3.1)

Part Number E13941-02

weblogic.jdbc.rowset
Interface SortedRowSet

All Known Subinterfaces:
WLCachedRowSet
All Known Implementing Classes:
CachedRowSetImpl, FilteredRowSetImpl, JoinRowSetImpl, WebRowSetImpl

public interface SortedRowSet

SortedRowSet allows users associate a Comparator with itself to sort its rows. This feature allows sorting in memory and generally provides better performance.


Method Summary
 Comparator getSorter()
          Get a Comparator that is used to sort the rows of RowSet object.
 void setSorter(Comparator c)
          Set a Comparator that will be used to sort the rows of RowSet object.
 

Method Detail

setSorter

void setSorter(Comparator c)
Set a Comparator that will be used to sort the rows of RowSet object.

Parameters:
c - Comparator instance used to decide the order of rows.

getSorter

Comparator getSorter()
Get a Comparator that is used to sort the rows of RowSet object.

Returns:
a Comparator instance

Documentation is available at
http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm
Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server 10.3.1 API Reference
11g Release 1 (10.3.1)

Part Number E13941-02