com.sleepycat.je.rep.vlsn
Class VLSNRange.VLSNRangeBinding
java.lang.Object
com.sleepycat.bind.tuple.TupleBase<E>
com.sleepycat.bind.tuple.TupleBinding<VLSNRange>
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VLSNRange.VLSNRangeBinding
VLSNRange.VLSNRangeBinding()
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.