public class TupleInputBinding extends java.lang.Object implements EntryBinding<TupleInput>
EntryBinding that uses the TupleInput
object as the key or data object.
A concrete tuple binding for key or data entries which are TupleInput objects. This binding is used when tuples themselves are the
objects, rather than using application defined objects. A TupleInput
must always be used. To convert a TupleOutput to a TupleInput, use the TupleInput.TupleInput(TupleOutput) constructor.| Constructor and Description |
|---|
TupleInputBinding()
Creates a tuple input binding.
|
| Modifier and Type | Method and Description |
|---|---|
TupleInput |
entryToObject(DatabaseEntry entry)
Converts a entry buffer into an Object.
|
void |
objectToEntry(TupleInput object,
DatabaseEntry entry)
Converts an Object into a entry buffer.
|
public TupleInput entryToObject(DatabaseEntry entry)
EntryBindingentryToObject in interface EntryBinding<TupleInput>entry - is the source entry buffer.public void objectToEntry(TupleInput object, DatabaseEntry entry)
EntryBindingobjectToEntry in interface EntryBinding<TupleInput>object - is the source Object.entry - is the destination entry buffer.Copyright (c) 1996, 2015 Oracle and/or its affiliates. All rights reserved.