Interface SortFactory
- All Superinterfaces:
MethodFactory, ModuleSupportable
- All Known Implementing Classes:
ExternalSortFactory, UniqueWithDuplicateNullsExternalSortFactory
The factory interface for all sort access methods.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreateSort(TransactionController tran, int segment, Properties implParameters, DataValueDescriptor[] template, ColumnOrdering[] columnOrdering, SortObserver sortObserver, boolean alreadyInOrder, long estimatedRows, int estimatedRowSize) Create the sort and return a sort object for it.Return an open SortCostController.Methods inherited from interface MethodFactory
defaultProperties, primaryFormat, primaryImplementationType, supportsFormat, supportsImplementationMethods inherited from interface ModuleSupportable
canSupport
-
Field Details
-
MODULE
Used to identify this interface when finding it with the Monitor.- See Also:
-
-
Method Details
-
createSort
Sort createSort(TransactionController tran, int segment, Properties implParameters, DataValueDescriptor[] template, ColumnOrdering[] columnOrdering, SortObserver sortObserver, boolean alreadyInOrder, long estimatedRows, int estimatedRowSize) throws StandardException Create the sort and return a sort object for it.- Throws:
StandardException- if the sort could not be opened for some reason, or if an error occurred in one of the lower level modules.
-
openSortCostController
Return an open SortCostController.Return an open SortCostController which can be used to ask about the estimated costs of SortController() operations.
- Returns:
- The open StoreCostController.
- Throws:
StandardException- Standard exception policy.- See Also:
-