com.sleepycat.je.rep.impl
Class RepGroupDB.NodeBinding
java.lang.Object
com.sleepycat.bind.tuple.TupleBase<E>
com.sleepycat.bind.tuple.TupleBinding<RepNodeImpl>
com.sleepycat.je.rep.impl.RepGroupDB.NodeBinding
- All Implemented Interfaces:
- EntryBinding<RepNodeImpl>
- Enclosing class:
- RepGroupDB
public static class RepGroupDB.NodeBinding
- extends TupleBinding<RepNodeImpl>
Supports the serialization/deserialization of node info into and out of
the database.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepGroupDB.NodeBinding
public RepGroupDB.NodeBinding()
entryToObject
public RepNodeImpl entryToObject(TupleInput input)
- Description copied from class:
TupleBinding
- Constructs a key or data object from a
TupleInput
entry.
- Specified by:
entryToObject
in class TupleBinding<RepNodeImpl>
- Parameters:
input
- is the tuple key or data entry.
- Returns:
- the key or data object constructed from the entry.
objectToEntry
public void objectToEntry(RepNodeImpl mi,
TupleOutput output)
- Description copied from class:
TupleBinding
- Converts a key or data object to a tuple entry.
- Specified by:
objectToEntry
in class TupleBinding<RepNodeImpl>
- Parameters:
mi
- is the key or data object.output
- is the tuple entry to which the key or data should be
written.
Copyright (c) 2004-2010 Oracle. All rights reserved.