com.sleepycat.persist.impl
Class RawArrayInput

java.lang.Object
  extended by com.sleepycat.persist.impl.AbstractInput
      extended by com.sleepycat.persist.impl.RawAbstractInput
          extended by com.sleepycat.persist.impl.RawArrayInput
All Implemented Interfaces:
EntityInput

 class RawArrayInput
extends RawAbstractInput

Extends RawAbstractInput to convert array (ObjectArrayFormat and PrimitiveArrayteKeyFormat) RawObject instances.

Author:
Mark Hayes

Field Summary
 
Fields inherited from class com.sleepycat.persist.impl.AbstractInput
catalog, rawAccess
 
Constructor Summary
RawArrayInput(Catalog catalog, boolean rawAccess, IdentityHashMap converted, RawObject raw, Format componentFormat)
           
 
Method Summary
 int readArrayLength()
          Called by ObjectArrayFormat and PrimitiveArrayFormat to read the array length.
(package private)  Object readNext()
           
 
Methods inherited from class com.sleepycat.persist.impl.RawAbstractInput
checkAndConvert, checkRawType, readBigInteger, readBoolean, readByte, readChar, readEnumConstant, readInt, readKeyObject, readLong, readObject, readShort, readSortedBigDecimal, readSortedDouble, readSortedFloat, readString, readStringObject, registerPriKeyObject, registerPriStringKeyObject, skipField
 
Methods inherited from class com.sleepycat.persist.impl.AbstractInput
getCatalog, isRawAccess, setRawAccess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RawArrayInput

RawArrayInput(Catalog catalog,
              boolean rawAccess,
              IdentityHashMap converted,
              RawObject raw,
              Format componentFormat)
Method Detail

readArrayLength

public int readArrayLength()
Description copied from interface: EntityInput
Called by ObjectArrayFormat and PrimitiveArrayFormat to read the array length.

Specified by:
readArrayLength in interface EntityInput
Overrides:
readArrayLength in class RawAbstractInput

readNext

Object readNext()
          throws RefreshException
Specified by:
readNext in class RawAbstractInput
Throws:
RefreshException


Copyright (c) 2004-2012 Oracle. All rights reserved.