Class UniqueWithDuplicateNullsExternalSortFactory
- java.lang.Object
-
- org.apache.derby.impl.store.access.sort.ExternalSortFactory
-
- org.apache.derby.impl.store.access.sort.UniqueWithDuplicateNullsExternalSortFactory
-
- All Implemented Interfaces:
ModuleControl,ModuleSupportable,MethodFactory,SortFactory,SortCostController
public class UniqueWithDuplicateNullsExternalSortFactory extends ExternalSortFactory
Method factory to support sorting of Almost unique index. This class overrides getMergeSort of ExternalSortFactory to return UniqueWithDuplicateNullsMergeSort.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringIMPLEMENTATIONID-
Fields inherited from class org.apache.derby.impl.store.access.sort.ExternalSortFactory
DEFAULT_MAX_MERGE_RUN, DEFAULT_MEM_USE
-
Fields inherited from interface org.apache.derby.iapi.store.access.conglomerate.SortFactory
MODULE
-
-
Constructor Summary
Constructors Constructor Description UniqueWithDuplicateNullsExternalSortFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MergeSortgetMergeSort()Returns merge sort implementation.java.lang.StringprimaryImplementationType()Return the primary implementation type for this access method.booleansupportsImplementation(java.lang.String implementationId)Return whether this access method implements the implementation type given in the argument string.-
Methods inherited from class org.apache.derby.impl.store.access.sort.ExternalSortFactory
boot, canSupport, close, createSort, defaultProperties, getSortCost, openSortCostController, primaryFormat, stop, supportsFormat
-
-
-
-
Field Detail
-
IMPLEMENTATIONID
private static final java.lang.String IMPLEMENTATIONID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMergeSort
protected MergeSort getMergeSort()
Description copied from class:ExternalSortFactoryReturns merge sort implementation. Extending classes can overide this method to customize sorting.- Overrides:
getMergeSortin classExternalSortFactory- Returns:
- MergeSort implementation
-
primaryImplementationType
public java.lang.String primaryImplementationType()
Description copied from interface:MethodFactoryReturn the primary implementation type for this access method. Although an access method may implement more than one implementation type, this is the expected one. The access manager will put the primary implementation type in a hash table for fast access.- Specified by:
primaryImplementationTypein interfaceMethodFactory- Overrides:
primaryImplementationTypein classExternalSortFactory- See Also:
MethodFactory.primaryImplementationType()
-
supportsImplementation
public boolean supportsImplementation(java.lang.String implementationId)
Description copied from interface:MethodFactoryReturn whether this access method implements the implementation type given in the argument string.- Specified by:
supportsImplementationin interfaceMethodFactory- Overrides:
supportsImplementationin classExternalSortFactory- See Also:
MethodFactory.supportsImplementation(java.lang.String)
-
-