|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sleepycat.persist.impl.ComparatorCatalog
class ComparatorCatalog
Read-only catalog used by a PersistComparator to return simple formats plus reconstituted enum formats.
| Field Summary |
|---|
| Fields inherited from interface com.sleepycat.persist.impl.Catalog |
|---|
BETA_VERSION, CURRENT_VERSION |
| Constructor Summary | |
|---|---|
ComparatorCatalog(Map<String,Format> formatMap)
|
|
| 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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
ComparatorCatalog(Map<String,Format> formatMap)
| Method Detail |
|---|
public int getInitVersion(Format format,
boolean forReader)
Catalog
getInitVersion in interface Catalogpublic Format getFormat(int formatId)
Catalog
getFormat in interface Catalog
public Format getFormat(Class cls,
boolean checkEntitySubclassIndexes)
Catalog
getFormat in interface CatalogcheckEntitySubclassIndexes - is true if we're expecting this format
to be an entity subclass and therefore subclass secondary indexes should
be opened.public Format getFormat(String className)
Catalog#getFormat(Class), the
format will not be created if it is not already known.
getFormat in interface Catalog
public Format createFormat(String clsName,
Map<String,Format> newFormats)
createFormat in interface CatalogPersistCatalog.createFormat(java.lang.String, java.util.Map)
public Format createFormat(Class type,
Map<String,Format> newFormats)
createFormat in interface CatalogPersistCatalog.createFormat(java.lang.String, java.util.Map) public boolean isRawAccess()
isRawAccess in interface CatalogPersistCatalog.isRawAccess()
public Object convertRawObject(RawObject o,
IdentityHashMap converted)
convertRawObject in interface CatalogPersistCatalog.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 | ||||||||