Interface SortController
-
- All Known Implementing Classes:
MergeInserter
public interface SortControllerA 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcompletedInserts()Inform SortController that all the rows have been inserted into it.SortInfogetSortInfo()Return SortInfo object which contains information about the current state of the sort.voidinsert(DataValueDescriptor[] row)Insert a row into the sort.
-
-
-
Method Detail
-
completedInserts
void completedInserts()
Inform SortController that all the rows have been inserted into it.
-
insert
void insert(DataValueDescriptor[] row) throws StandardException
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
SortInfo getSortInfo() throws StandardException
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:
SortInfo
-
-