com.sleepycat.je.rep.impl
Class RepGroupDB.GroupBinding

java.lang.Object
  extended by com.sleepycat.bind.tuple.TupleBase<E>
      extended by com.sleepycat.bind.tuple.TupleBinding<RepGroupImpl>
          extended by com.sleepycat.je.rep.impl.RepGroupDB.GroupBinding
All Implemented Interfaces:
EntryBinding<RepGroupImpl>
Enclosing class:
RepGroupDB

public static class RepGroupDB.GroupBinding
extends TupleBinding<RepGroupImpl>


Constructor Summary
RepGroupDB.GroupBinding()
           
 
Method Summary
 RepGroupImpl entryToObject(TupleInput input)
          Constructs a key or data object from a TupleInput entry.
 void objectToEntry(RepGroupImpl group, TupleOutput output)
          Converts a key or data object to a tuple entry.
 
Methods inherited from class com.sleepycat.bind.tuple.TupleBinding
entryToObject, getPrimitiveBinding, objectToEntry
 
Methods inherited from class com.sleepycat.bind.tuple.TupleBase
entryToInput, getTupleBufferSize, getTupleOutput, inputToEntry, newOutput, newOutput, outputToEntry, setTupleBufferSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepGroupDB.GroupBinding

public RepGroupDB.GroupBinding()
Method Detail

entryToObject

public RepGroupImpl entryToObject(TupleInput input)
Description copied from class: TupleBinding
Constructs a key or data object from a TupleInput entry.

Specified by:
entryToObject in class TupleBinding<RepGroupImpl>
Parameters:
input - is the tuple key or data entry.
Returns:
the key or data object constructed from the entry.

objectToEntry

public void objectToEntry(RepGroupImpl group,
                          TupleOutput output)
Description copied from class: TupleBinding
Converts a key or data object to a tuple entry.

Specified by:
objectToEntry in class TupleBinding<RepGroupImpl>
Parameters:
group - 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.