Interface MethodFactory

All Superinterfaces:
ModuleSupportable
All Known Subinterfaces:
ConglomerateFactory, SortFactory
All Known Implementing Classes:
B2IFactory, ExternalSortFactory, HeapConglomerateFactory, UniqueWithDuplicateNullsExternalSortFactory

public interface MethodFactory extends ModuleSupportable
The interface of all access method factories. Specific method factories (sorts, conglomerates), extend this interface.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Used to identify this interface when finding it with the Monitor.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the default properties for this access method.
    Return the primary format that this access method supports.
    Return the primary implementation type for this access method.
    boolean
    supportsFormat(UUID formatid)
    Return whether this access method supports the format supplied in the argument.
    boolean
    supportsImplementation(String implementationId)
    Return whether this access method implements the implementation type given in the argument string.

    Methods inherited from interface org.apache.derby.iapi.services.monitor.ModuleSupportable

    canSupport
  • Field Details

    • MODULE

      static final String MODULE
      Used to identify this interface when finding it with the Monitor.
      See Also:
  • Method Details

    • defaultProperties

      Properties defaultProperties()
      Return the default properties for this access method.
    • supportsImplementation

      boolean supportsImplementation(String implementationId)
      Return whether this access method implements the implementation type given in the argument string.
    • primaryImplementationType

      String 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.
    • supportsFormat

      boolean supportsFormat(UUID formatid)
      Return whether this access method supports the format supplied in the argument.
    • primaryFormat

      UUID primaryFormat()
      Return the primary format that this access method supports. Although an access method may support more than one format, this is the usual one. the access manager will put the primary format in a hash table for fast access to the appropriate method.