com.sleepycat.je.rep.vlsn
Class VLSNRange.VLSNRangeBinding

java.lang.Object
  extended by com.sleepycat.bind.tuple.TupleBase<E>
      extended by com.sleepycat.bind.tuple.TupleBinding<VLSNRange>
          extended by com.sleepycat.je.rep.vlsn.VLSNRange.VLSNRangeBinding
All Implemented Interfaces:
EntryBinding<VLSNRange>
Enclosing class:
VLSNRange

static class VLSNRange.VLSNRangeBinding
extends TupleBinding<VLSNRange>

Marshals a VLSNRange to a byte buffer to store in the database.


Constructor Summary
VLSNRange.VLSNRangeBinding()
           
 
Method Summary
 VLSNRange entryToObject(TupleInput ti)
          Constructs a key or data object from a TupleInput entry.
 void objectToEntry(VLSNRange range, TupleOutput to)
          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

VLSNRange.VLSNRangeBinding

VLSNRange.VLSNRangeBinding()
Method Detail

entryToObject

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

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

objectToEntry

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

Specified by:
objectToEntry in class TupleBinding<VLSNRange>
Parameters:
range - is the key or data object.
to - is the tuple entry to which the key or data should be written.


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