ORG.oclc.db
Class DedupedSort
java.lang.Object
|
+--ORG.oclc.db.DedupedSort
- public class DedupedSort
- extends Object
DedupedSort is the controlling class for building a sort key from a record.
DedupedSort must be extended to actually get any data in a sort key.
Field Summary |
Vector |
duplicateRecords
Vector object containing the list of SortResult objects
containing the duplicates. |
SortResult |
sortResult
integer data type containing the offset into the original result set for
the record. |
Method Summary |
void |
addDuplicate(int offset)
Add a duplicate record to the list containing the offset into the
original result set
for the record. |
void |
addDuplicate(int offset,
int length,
String dupDbname,
DuplicateCriteria criteria)
Add a duplicate record to the list containing the offset into the
original result set
for the record. |
static void |
sortEm(DedupedSort[] keys)
Sorts the dedupedSort results by the dbname. |
String |
toString()
|
duplicateRecords
public Vector duplicateRecords
- Vector object containing the list of SortResult objects
containing the duplicates.
sortResult
public SortResult sortResult
- integer data type containing the offset into the original result set for
the record.
DedupedSort
public DedupedSort(int offset,
int reclen)
DedupedSort
public DedupedSort(int offset,
int reclen,
String dbname)
addDuplicate
public void addDuplicate(int offset)
- Add a duplicate record to the list containing the offset into the
original result set
for the record.
addDuplicate
public void addDuplicate(int offset,
int length,
String dupDbname,
DuplicateCriteria criteria)
- Add a duplicate record to the list containing the offset into the
original result set
for the record.
sortEm
public static void sortEm(DedupedSort[] keys)
- Sorts the dedupedSort results by the dbname.
toString
public String toString()
- Overrides:
- toString in class Object