Top Description Fields Constructors Methods
org.apache.derby.impl.store.access.sort

public Class UniqueWithDuplicateNullsExternalSortFactory

extends ExternalSortFactory
Class Inheritance
Imports
org.apache.derby.iapi.store.access.conglomerate.MethodFactory

Method factory to support sorting of Almost unique index. This class overrides getMergeSort of ExternalSortFactory to return UniqueWithDuplicateNullsMergeSort.

Field Summary

Modifier and TypeField and Description
private static final String
Inherited from org.apache.derby.impl.store.access.sort.ExternalSortFactory:
DEFAULT_MAX_MERGE_RUNDEFAULT_MEM_USE

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected MergeSort
public String
public boolean
supportsImplementation(String implementationId)

Overrides org.apache.derby.impl.store.access.sort.ExternalSortFactory.supportsImplementation.

Implements org.apache.derby.iapi.store.access.conglomerate.MethodFactory.supportsImplementation.

Return whether this access method implements the implementation type given in the argument string.

Inherited from org.apache.derby.impl.store.access.sort.ExternalSortFactory:
bootcanSupportclosecreateSortdefaultPropertiesgetSortCostopenSortCostControllerprimaryFormatstopsupportsFormat

Field Detail

IMPLEMENTATIONIDback to summary
private static final String IMPLEMENTATIONID

Hides org.apache.derby.impl.store.access.sort.ExternalSortFactory.IMPLEMENTATIONID.

Constructor Detail

UniqueWithDuplicateNullsExternalSortFactoryback to summary
public UniqueWithDuplicateNullsExternalSortFactory()

Method Detail

getMergeSortback to summary
protected MergeSort getMergeSort()

Overrides org.apache.derby.impl.store.access.sort.ExternalSortFactory.getMergeSort.

Doc from org.apache.derby.impl.store.access.sort.ExternalSortFactory.getMergeSort.

Returns merge sort implementation. Extending classes can overide this method to customize sorting.

Returns:MergeSort

MergeSort implementation

primaryImplementationTypeback to summary
public String primaryImplementationType()

Overrides org.apache.derby.impl.store.access.sort.ExternalSortFactory.primaryImplementationType.

Implements org.apache.derby.iapi.store.access.conglomerate.MethodFactory.primaryImplementationType.

Doc from org.apache.derby.iapi.store.access.conglomerate.MethodFactory.primaryImplementationType.

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.

See Also
MethodFactory#primaryImplementationType
supportsImplementationback to summary
public boolean supportsImplementation(String implementationId)

Overrides org.apache.derby.impl.store.access.sort.ExternalSortFactory.supportsImplementation.

Implements org.apache.derby.iapi.store.access.conglomerate.MethodFactory.supportsImplementation.

Doc from org.apache.derby.iapi.store.access.conglomerate.MethodFactory.supportsImplementation.

Return whether this access method implements the implementation type given in the argument string.

See Also
MethodFactory#supportsImplementation