com.sleepycat.persist.impl
Interface Reader
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- ComplexFormat, CompositeKeyFormat, ConverterReader, EnumFormat, Format, NonPersistentFormat, ObjectArrayFormat, PrimitiveArrayFormat, ProxiedFormat, SimpleFormat, SimpleFormat.FBigDec, SimpleFormat.FBigInt, SimpleFormat.FBool, SimpleFormat.FByte, SimpleFormat.FChar, SimpleFormat.FDate, SimpleFormat.FDouble, SimpleFormat.FFloat, SimpleFormat.FInt, SimpleFormat.FLong, SimpleFormat.FShort, SimpleFormat.FString
interface Reader
- extends Serializable
Interface to the "read object" methods of the Format class. For the
latest version format, the Format object provides the implementation of
these methods. For an older version format, an evolver object implements
this interface to convert from the old to new format.
See Format
for a description of each method.
- Author:
- Mark Hayes
initializeReader
void initializeReader(Catalog catalog,
EntityModel model,
int initVersion,
Format oldFormat)
newInstance
Object newInstance(EntityInput input,
boolean rawAccess)
throws RefreshException
- Throws:
RefreshException
readPriKey
void readPriKey(Object o,
EntityInput input,
boolean rawAccess)
throws RefreshException
- Throws:
RefreshException
readObject
Object readObject(Object o,
EntityInput input,
boolean rawAccess)
throws RefreshException
- Throws:
RefreshException
getAccessor
Accessor getAccessor(boolean rawAccess)
Copyright (c) 2004-2012 Oracle. All rights reserved.