public class SimpleCatalog extends java.lang.Object implements Catalog
BETA_VERSION, CURRENT_VERSION| Modifier and Type | Method and Description |
|---|---|
static java.lang.Class |
classForName(java.lang.String className) |
java.lang.Object |
convertRawObject(RawObject o,
java.util.IdentityHashMap converted) |
(package private) static java.util.List<Format> |
copyFormatList() |
(package private) static boolean |
copyMissingFormats(java.util.List<Format> copyToList) |
Format |
createFormat(java.lang.Class type,
java.util.Map<java.lang.String,Format> newFormats) |
Format |
createFormat(java.lang.String clsName,
java.util.Map<java.lang.String,Format> newFormats) |
Format |
getFormat(java.lang.Class cls,
boolean openEntitySubclassIndexes)
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(java.lang.String className)
Returns a format by class name.
|
int |
getInitVersion(Format format,
boolean forReader)
See above.
|
(package private) static SimpleCatalog |
getInstance() |
(package private) static SimpleFormat |
getSimpleFormat(java.lang.Class type) |
boolean |
isRawAccess() |
(package private) static boolean |
isSimpleType(java.lang.Class type) |
static java.lang.Class |
keyClassForName(java.lang.String className) |
static java.lang.String |
keyClassName(java.lang.String className) |
(package private) static java.lang.Class |
primitiveToWrapper(java.lang.Class type) |
static SimpleCatalog getInstance()
static boolean isSimpleType(java.lang.Class type)
static java.lang.Class primitiveToWrapper(java.lang.Class type)
public static java.lang.Class keyClassForName(java.lang.String className)
public static java.lang.String keyClassName(java.lang.String className)
public static java.lang.Class classForName(java.lang.String className)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionstatic SimpleFormat getSimpleFormat(java.lang.Class type)
static java.util.List<Format> copyFormatList()
static boolean copyMissingFormats(java.util.List<Format> copyToList)
public int getInitVersion(Format format, boolean forReader)
CataloggetInitVersion in interface Catalogpublic Format getFormat(int formatId)
Catalogpublic Format getFormat(java.lang.Class cls, boolean openEntitySubclassIndexes)
Catalogpublic Format getFormat(java.lang.String className)
Catalog#getFormat(Class), the
format will not be created if it is not already known.public Format createFormat(java.lang.String clsName, java.util.Map<java.lang.String,Format> newFormats)
createFormat in interface CatalogPersistCatalog.createFormat(java.lang.String, java.util.Map<java.lang.String, com.sleepycat.persist.impl.Format>)public Format createFormat(java.lang.Class type, java.util.Map<java.lang.String,Format> newFormats)
createFormat in interface CatalogPersistCatalog.createFormat(java.lang.String, java.util.Map<java.lang.String, com.sleepycat.persist.impl.Format>)public boolean isRawAccess()
isRawAccess in interface CatalogPersistCatalog.isRawAccess()public java.lang.Object convertRawObject(RawObject o, java.util.IdentityHashMap converted)
convertRawObject in interface CatalogPersistCatalog.convertRawObject(com.sleepycat.persist.raw.RawObject, java.util.IdentityHashMap)Copyright (c) 2004,2008 Oracle. All rights reserved.