org.apache.derby.iapi.store.access.conglomerate
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
static java.lang.String MODULE
          Used to identify this interface when finding it with the Monitor.
 
Method Summary
 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

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.