com.sleepycat.persist.impl
Class AbstractInput
java.lang.Object
com.sleepycat.persist.impl.AbstractInput
- All Implemented Interfaces:
- EntityInput
- Direct Known Subclasses:
- RawAbstractInput, WidenerInput
abstract class AbstractInput
- extends java.lang.Object
- implements EntityInput
Base class for EntityInput implementations. RecordInput cannot use this
base class because it extends TupleInput, so it repeats the code here.
- Author:
- Mark Hayes
Method Summary |
Catalog |
getCatalog()
Returns the Catalog associated with this input. |
boolean |
isRawAccess()
Return whether this input is in raw mode, i.e., whether it is returning
raw instances. |
boolean |
setRawAccess(boolean rawAccessParam)
Changes raw mode and returns the original mode, which is normally
restored later. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sleepycat.persist.impl.EntityInput |
readArrayLength, readBigInteger, readBoolean, readByte, readChar, readEnumConstant, readInt, readKeyObject, readLong, readObject, readShort, readSortedDouble, readSortedFloat, readString, registerPriKeyObject, skipField |
catalog
Catalog catalog
rawAccess
boolean rawAccess
AbstractInput
AbstractInput(Catalog catalog,
boolean rawAccess)
getCatalog
public Catalog getCatalog()
- Description copied from interface:
EntityInput
- Returns the Catalog associated with this input.
- Specified by:
getCatalog
in interface EntityInput
isRawAccess
public boolean isRawAccess()
- Description copied from interface:
EntityInput
- Return whether this input is in raw mode, i.e., whether it is returning
raw instances.
- Specified by:
isRawAccess
in interface EntityInput
setRawAccess
public boolean setRawAccess(boolean rawAccessParam)
- Description copied from interface:
EntityInput
- Changes raw mode and returns the original mode, which is normally
restored later. For temporarily changing the mode during a conversion.
- Specified by:
setRawAccess
in interface EntityInput
Copyright 2004,2008 Oracle. All rights reserved.