com.sleepycat.persist.impl
Interface Reader

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ComplexFormat, CompositeKeyFormat, ConverterReader, EnumFormat, Format, NonPersistentFormat, ObjectArrayFormat, PrimitiveArrayFormat, ProxiedFormat, SimpleFormat, 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 java.io.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

Method Summary
 void initializeReader(Catalog catalog, int initVersion, Format oldFormat)
           
 java.lang.Object newInstance(EntityInput input, boolean rawAccess)
           
 java.lang.Object readObject(java.lang.Object o, EntityInput input, boolean rawAccess)
           
 void readPriKey(java.lang.Object o, EntityInput input, boolean rawAccess)
           
 

Method Detail

initializeReader

void initializeReader(Catalog catalog,
                      int initVersion,
                      Format oldFormat)

newInstance

java.lang.Object newInstance(EntityInput input,
                             boolean rawAccess)

readPriKey

void readPriKey(java.lang.Object o,
                EntityInput input,
                boolean rawAccess)

readObject

java.lang.Object readObject(java.lang.Object o,
                            EntityInput input,
                            boolean rawAccess)


Copyright 2004,2008 Oracle. All rights reserved.