Top Description Fields Methods
org.apache.derby.iapi.store.access.conglomerate

public Interface SortFactory

extends MethodFactory
Known Direct Implementers
org.apache.derby.impl.store.access.sort.ExternalSortFactory
Imports
java.util.Properties, org.apache.derby.catalog.UUID, org.apache.derby.shared.common.error.StandardException, org.apache.derby.iapi.store.access.SortObserver, .SortCostController, .ColumnOrdering, .TransactionController, org.apache.derby.iapi.types.DataValueDescriptor

The factory interface for all sort access methods.

Field Summary

Modifier and TypeField and Description
public static final String
MODULE

Hides org.apache.derby.iapi.store.access.conglomerate.MethodFactory.MODULE.

Used to identify this interface when finding it with the Monitor.

Method Summary

Modifier and TypeMethod and Description
public Sort
createSort(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.

public SortCostController

Returns:

The open StoreCostController.
openSortCostController
()

Return an open SortCostController.

Inherited from org.apache.derby.iapi.store.access.conglomerate.MethodFactory:
defaultPropertiesprimaryFormatprimaryImplementationTypesupportsFormatsupportsImplementation

Field Detail

MODULEback to summary
public static final String MODULE

Hides org.apache.derby.iapi.store.access.conglomerate.MethodFactory.MODULE.

Used to identify this interface when finding it with the Monitor.

Method Detail

createSortback to summary
public 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.

Exceptions
StandardException:
if the sort could not be opened for some reason, or if an error occurred in one of the lower level modules.
openSortCostControllerback to summary
public 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:SortCostController

The open StoreCostController.

Exceptions
StandardException:
Standard exception policy.
See Also
org.apache.derby.iapi.store.access.StoreCostController