org.apache.derby.impl.store.access.sort
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.
Fields inherited from interface org.apache.derby.iapi.store.access.conglomerate.SortFactory |
MODULE |
Method Summary |
protected MergeSort |
getMergeSort()
Returns merge sort implementation. |
java.lang.String |
primaryImplementationType()
Return the primary implementation type for this access method. |
boolean |
supportsImplementation(java.lang.String implementationId)
Return whether this access method implements the implementation
type given in the argument string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IMPLEMENTATIONID
private static final java.lang.String IMPLEMENTATIONID
- See Also:
- Constant Field Values
UniqueWithDuplicateNullsExternalSortFactory
public UniqueWithDuplicateNullsExternalSortFactory()
getMergeSort
protected MergeSort getMergeSort()
- Description copied from class:
ExternalSortFactory
- Returns merge sort implementation. Extending classes can overide this
method to customize sorting.
- Overrides:
getMergeSort
in class ExternalSortFactory
- Returns:
- MergeSort implementation
primaryImplementationType
public java.lang.String primaryImplementationType()
- Description copied from interface:
MethodFactory
- Return 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:
primaryImplementationType
in interface MethodFactory
- Overrides:
primaryImplementationType
in class ExternalSortFactory
- See Also:
MethodFactory.primaryImplementationType()
supportsImplementation
public boolean supportsImplementation(java.lang.String implementationId)
- Description copied from interface:
MethodFactory
- Return whether this access method implements the implementation
type given in the argument string.
- Specified by:
supportsImplementation
in interface MethodFactory
- Overrides:
supportsImplementation
in class ExternalSortFactory
- See Also:
MethodFactory.supportsImplementation(java.lang.String)
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.