org.apache.derby.iapi.store.access.conglomerate
Interface MethodFactory

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

public interface MethodFactory
extends ModuleSupportable

The interface of all access method factories. Specific method factories (sorts, conglomerates), extend this interface.


Field Summary
static java.lang.String MODULE
          Used to identify this interface when finding it with the Monitor.
 
Method Summary
 java.util.Properties defaultProperties()
          Return the default properties for this access method.
 UUID primaryFormat()
          Return the primary format that this access method supports.
 java.lang.String primaryImplementationType()
          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(java.lang.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 Detail

MODULE

public static final java.lang.String MODULE
Used to identify this interface when finding it with the Monitor.

See Also:
Constant Field Values
Method Detail

defaultProperties

public java.util.Properties defaultProperties()
Return the default properties for this access method.


supportsImplementation

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


primaryImplementationType

public java.lang.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

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


primaryFormat

public 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.


Built on Mon 2007-06-04 09:58:47+0400, from revision ???

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.