Interface SortFactory
-
- All Superinterfaces:
MethodFactory
,ModuleSupportable
- All Known Implementing Classes:
ExternalSortFactory
,UniqueWithDuplicateNullsExternalSortFactory
public interface SortFactory extends MethodFactory
The factory interface for all sort access methods.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MODULE
Used to identify this interface when finding it with the Monitor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Sort
createSort(TransactionController tran, int segment, java.util.Properties implParameters, DataValueDescriptor[] template, ColumnOrdering[] columnOrdering, SortObserver sortObserver, boolean alreadyInOrder, long estimatedRows, int estimatedRowSize)
Create the sort and return a sort object for it.SortCostController
openSortCostController()
Return an open SortCostController.-
Methods inherited from interface org.apache.derby.iapi.store.access.conglomerate.MethodFactory
defaultProperties, primaryFormat, primaryImplementationType, supportsFormat, supportsImplementation
-
Methods inherited from interface org.apache.derby.iapi.services.monitor.ModuleSupportable
canSupport
-
-
-
-
Field Detail
-
MODULE
static final java.lang.String MODULE
Used to identify this interface when finding it with the Monitor.- See Also:
- Constant Field Values
-
-
Method Detail
-
createSort
Sort createSort(TransactionController tran, int segment, java.util.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
SortCostController openSortCostController() throws StandardException
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:
StoreCostController
-
-