BEA Systems, Inc.

BEA WebLogic Server 9.1 API Reference


weblogic.jdbc.rowset
Interface SortedRowSet

All Known Subinterfaces:
WLCachedRowSet

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.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

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

getSorter

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

Returns:
a Comparator instance

setSorter

public 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.

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs91
Copyright 2005 BEA Systems Inc.