org.apache.derby.iapi.store.access.conglomerate
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
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

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

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


supportsImplementation

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


primaryImplementationType

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

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.


Built on Thu 2011-03-10 11:54:14+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.