com.sleepycat.je
Class SecondaryConfig

java.lang.Object
  extended by com.sleepycat.je.DatabaseConfig
      extended by com.sleepycat.je.SecondaryConfig
All Implemented Interfaces:
Cloneable

public class SecondaryConfig
extends DatabaseConfig

Javadoc for this public class is generated via the doc templates in the doc_src directory.


Field Summary
(package private) static SecondaryConfig DEFAULT
           
 
Constructor Summary
SecondaryConfig()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 
Method Summary
(package private)  String genSecondaryConfigMismatchMessage(DatabaseConfig config, boolean kcMatch, boolean fkdMatch, boolean fkdaMatch, boolean fknMatch, boolean imskMatch)
           
 boolean getAllowPopulate()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 Database getForeignKeyDatabase()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 ForeignKeyDeleteAction getForeignKeyDeleteAction()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 ForeignKeyNullifier getForeignKeyNullifier()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 boolean getImmutableSecondaryKey()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 SecondaryKeyCreator getKeyCreator()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void setAllowPopulate(boolean allowPopulate)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void setForeignKeyDatabase(Database foreignKeyDatabase)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void setForeignKeyDeleteAction(ForeignKeyDeleteAction foreignKeyDeleteAction)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void setForeignKeyNullifier(ForeignKeyNullifier foreignKeyNullifier)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void setImmutableSecondaryKey(boolean immutableSecondaryKey)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void setKeyCreator(SecondaryKeyCreator keyCreator)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
(package private)  void validate(DatabaseConfig configArg)
           
 
Methods inherited from class com.sleepycat.je.DatabaseConfig
cloneConfig, genDatabaseConfigMismatchMessage, getAllowCreate, getBtreeComparator, getDuplicateComparator, getExclusiveCreate, getNodeMaxDupTreeEntries, getNodeMaxEntries, getOverrideBtreeComparator, getOverrideDuplicateComparator, getReadOnly, getSortedDuplicates, getTransactional, getUseExistingConfig, setAllowCreate, setBtreeComparator, setDuplicateComparator, setExclusiveCreate, setNodeMaxDupTreeEntries, setNodeMaxEntries, setOverrideBtreeComparator, setOverrideDuplicateComparator, setReadOnly, setSortedDuplicates, setTransactional, setUseExistingConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

static SecondaryConfig DEFAULT
Constructor Detail

SecondaryConfig

public SecondaryConfig()
Javadoc for this public method is generated via the doc templates in the doc_src directory.

Method Detail

setKeyCreator

public void setKeyCreator(SecondaryKeyCreator keyCreator)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


getKeyCreator

public SecondaryKeyCreator getKeyCreator()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


setAllowPopulate

public void setAllowPopulate(boolean allowPopulate)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


getAllowPopulate

public boolean getAllowPopulate()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


setForeignKeyDatabase

public void setForeignKeyDatabase(Database foreignKeyDatabase)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


getForeignKeyDatabase

public Database getForeignKeyDatabase()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


setForeignKeyDeleteAction

public void setForeignKeyDeleteAction(ForeignKeyDeleteAction foreignKeyDeleteAction)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


getForeignKeyDeleteAction

public ForeignKeyDeleteAction getForeignKeyDeleteAction()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


setForeignKeyNullifier

public void setForeignKeyNullifier(ForeignKeyNullifier foreignKeyNullifier)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


getForeignKeyNullifier

public ForeignKeyNullifier getForeignKeyNullifier()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


setImmutableSecondaryKey

public void setImmutableSecondaryKey(boolean immutableSecondaryKey)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


getImmutableSecondaryKey

public boolean getImmutableSecondaryKey()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


validate

void validate(DatabaseConfig configArg)
        throws DatabaseException
Overrides:
validate in class DatabaseConfig
Throws:
DatabaseException

genSecondaryConfigMismatchMessage

String genSecondaryConfigMismatchMessage(DatabaseConfig config,
                                         boolean kcMatch,
                                         boolean fkdMatch,
                                         boolean fkdaMatch,
                                         boolean fknMatch,
                                         boolean imskMatch)


Copyright 2004-2005 Sleepycat, Inc. All Rights Reserved.