org.openmobileis.database.fastobjectdb.db.index
Class FODBIndexFactory

java.lang.Object
  extended byorg.openmobileis.database.fastobjectdb.db.index.FODBIndexFactory

public final class FODBIndexFactory
extends java.lang.Object

Factory use to create index


Field Summary
static int MULTIPLE
           
static int UNIQUE
           
 
Constructor Summary
FODBIndexFactory()
           
 
Method Summary
 FODBIndex createIndex(FODBIndexDescriptor descriptor, java.lang.Class objectType, FODBCollectionIndexFile cFile)
           
 FODBIndex createIndex(FODBIndexHeader header, java.lang.Class objectType, FODBCollectionIndexFile cFile)
           
static FODBIndexFactory getFactory()
           
protected  boolean isValidKeyType(java.lang.Class keyType, java.lang.Class indexType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNIQUE

public static final int UNIQUE
See Also:
Constant Field Values

MULTIPLE

public static final int MULTIPLE
See Also:
Constant Field Values
Constructor Detail

FODBIndexFactory

public FODBIndexFactory()
Method Detail

getFactory

public static FODBIndexFactory getFactory()

isValidKeyType

protected boolean isValidKeyType(java.lang.Class keyType,
                                 java.lang.Class indexType)

createIndex

public FODBIndex createIndex(FODBIndexDescriptor descriptor,
                             java.lang.Class objectType,
                             FODBCollectionIndexFile cFile)
                      throws BadDataFormatException,
                             FODBException
Throws:
BadDataFormatException
FODBException

createIndex

public FODBIndex createIndex(FODBIndexHeader header,
                             java.lang.Class objectType,
                             FODBCollectionIndexFile cFile)
                      throws BadDataFormatException,
                             FODBException
Throws:
BadDataFormatException
FODBException


Copyright 2005 e-Care. All Rights Reserved.