org.apache.derby.impl.store.access.sort
Class UniqueWithDuplicateNullsExternalSortFactory

java.lang.Object
  extended by org.apache.derby.impl.store.access.sort.ExternalSortFactory
      extended by 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
private static java.lang.String IMPLEMENTATIONID
           
 
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
UniqueWithDuplicateNullsExternalSortFactory()
           
 
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 org.apache.derby.impl.store.access.sort.ExternalSortFactory
boot, canSupport, close, createSort, defaultProperties, getSortCost, openSortCostController, primaryFormat, stop, supportsFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IMPLEMENTATIONID

private static final java.lang.String IMPLEMENTATIONID
See Also:
Constant Field Values
Constructor Detail

UniqueWithDuplicateNullsExternalSortFactory

public UniqueWithDuplicateNullsExternalSortFactory()
Method Detail

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)

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.