Interface SortController
- All Known Implementing Classes:
MergeInserter
public interface SortController
A sort controller is an interface for inserting rows
into a sort.
A sort is created with the createSort method of TransactionController. The rows are read back with a scan controller returned from the openSortScan method of TranscationController.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Inform SortController that all the rows have been inserted into it.Return SortInfo object which contains information about the current state of the sort.void
insert
(DataValueDescriptor[] row) Insert a row into the sort.
-
Method Details
-
completedInserts
void completedInserts()Inform SortController that all the rows have been inserted into it. -
insert
Insert a row into the sort.- Parameters:
row
- The row to insert into the SortController. The stored representations of the row's columns are copied into a new row somewhere in the sort.- Throws:
StandardException
- Standard exception policy.
-
getSortInfo
Return SortInfo object which contains information about the current state of the sort.- Returns:
- The SortInfo object which contains info about current sort.
- Throws:
StandardException
- Standard exception policy.- See Also:
-