MethodFactory
, ModuleSupportable
ExternalSortFactory
, UniqueWithDuplicateNullsExternalSortFactory
public interface SortFactory extends MethodFactory
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
MODULE |
Used to identify this interface when finding it with the Monitor.
|
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.
|
defaultProperties, primaryFormat, primaryImplementationType, supportsFormat, supportsImplementation
canSupport
static final java.lang.String MODULE
Sort createSort(TransactionController tran, int segment, java.util.Properties implParameters, DataValueDescriptor[] template, ColumnOrdering[] columnOrdering, SortObserver sortObserver, boolean alreadyInOrder, long estimatedRows, int estimatedRowSize) throws StandardException
StandardException
- if the sort could not be
opened for some reason, or if an error occurred in one of
the lower level modules.SortCostController openSortCostController() throws StandardException
Return an open SortCostController which can be used to ask about the estimated costs of SortController() operations.
StandardException
- Standard exception policy.StoreCostController
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.