|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
interface Catalog
Catalog operation interface used by format classes.
PersistCatalog,
SimpleCatalog,
ReadOnlyCatalog| Field Summary | |
|---|---|
static int |
BETA_VERSION
|
static int |
CURRENT_VERSION
|
| Method Summary | |
|---|---|
Object |
convertRawObject(RawObject o,
IdentityHashMap converted)
|
Format |
createFormat(Class type,
Map<String,Format> newFormats)
|
Format |
createFormat(String clsName,
Map<String,Format> newFormats)
|
Format |
getFormat(Class cls,
boolean checkEntitySubclassIndexes)
Returns a format for a given class, or throws an exception. |
Format |
getFormat(int formatId)
Returns a format for a given ID, or throws an exception. |
Format |
getFormat(String className)
Returns a format by class name. |
int |
getInitVersion(Format format,
boolean forReader)
See above. |
boolean |
isRawAccess()
|
| Field Detail |
|---|
static final int BETA_VERSION
static final int CURRENT_VERSION
| Method Detail |
|---|
int getInitVersion(Format format,
boolean forReader)
Format getFormat(int formatId)
IllegalStateException - if the formatId does not correspond to a
persistent class. This is an internal consistency error.
Format getFormat(Class cls,
boolean checkEntitySubclassIndexes)
checkEntitySubclassIndexes - is true if we're expecting this format
to be an entity subclass and therefore subclass secondary indexes should
be opened.
IllegalArgumentException - if the class is not persistent. This
is a user error.Format getFormat(String className)
#getFormat(Class), the
format will not be created if it is not already known.
Format createFormat(String clsName,
Map<String,Format> newFormats)
PersistCatalog.createFormat(java.lang.String, java.util.Map)
Format createFormat(Class type,
Map<String,Format> newFormats)
PersistCatalog.createFormat(java.lang.String, java.util.Map) boolean isRawAccess()
PersistCatalog.isRawAccess()
Object convertRawObject(RawObject o,
IdentityHashMap converted)
PersistCatalog.convertRawObject(com.sleepycat.persist.raw.RawObject, com.sleepycat.je.utilint.IdentityHashMap)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||