|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.jdbc.rowset.SQLComparator
public class SQLComparator
SQLComparator is a default implementation of the Comparator interface.
SortedRowSet use SQLComparator to sort its rows and uses the return
value of the SQLComparator.compare
method to decide the order of any two
rows.
The syntax of a columns string specified in a SQLComparator constructor
is a string of column names in a RowSet that is separated by a comma "," character.
For example, "c1, c2, c3" and "c*" is a valid column name.
Constructor Summary | |
---|---|
SQLComparator(String order)
Constructor with a string input that defines how to sort the rows of a RowSet object. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
compare, equals |
Constructor Detail |
---|
public SQLComparator(String order)
order
- string used to decide the order of rows.
|
Copyright 1996, 2011, 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 API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |