From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- .../bind/tuple/TupleMarshalledBinding.html | 613 +++++++++++---------- 1 file changed, 311 insertions(+), 302 deletions(-) (limited to 'docs/java/com/sleepycat/bind/tuple/TupleMarshalledBinding.html') diff --git a/docs/java/com/sleepycat/bind/tuple/TupleMarshalledBinding.html b/docs/java/com/sleepycat/bind/tuple/TupleMarshalledBinding.html index a2e63c55..7bc5e6d0 100644 --- a/docs/java/com/sleepycat/bind/tuple/TupleMarshalledBinding.html +++ b/docs/java/com/sleepycat/bind/tuple/TupleMarshalledBinding.html @@ -1,326 +1,335 @@ - - - - - -TupleMarshalledBinding (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.bind.tuple -
-Class TupleMarshalledBinding<E extends MarshalledTupleEntry>

-
-java.lang.Object
-  extended by com.sleepycat.bind.tuple.TupleBase<E>
-      extended by com.sleepycat.bind.tuple.TupleBinding<E>
-          extended by com.sleepycat.bind.tuple.TupleMarshalledBinding<E>
-
-
-
All Implemented Interfaces:
EntryBinding<E>
-
-
-
-
public class TupleMarshalledBinding<E extends MarshalledTupleEntry>
extends TupleBinding<E>
- - -

-A concrete TupleBinding that delegates to the +

+
com.sleepycat.bind.tuple
+

Class TupleMarshalledBinding<E extends MarshalledTupleEntry>

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    EntryBinding<E>
    +
    +
    +
    +
    public class TupleMarshalledBinding<E extends MarshalledTupleEntry>
    +extends TupleBinding<E>
    +
    A concrete TupleBinding that delegates to the MarshalledTupleEntry interface of the data or key object. -

    This class works by calling the methods of the MarshalledTupleEntry interface, which must be implemented by the key or - data class, to convert between the key or data entry and the object.

    -

    - -

    -


    - -

    - +

    This class works by calling the methods of the MarshalledTupleEntry interface, which must be implemented by the key or + data class, to convert between the key or data entry and the object.

    +
  • +
+
+
+ +
+
+
    +
  • - - - - - - -
    -Constructor Detail
    - -

    -TupleMarshalledBinding

    -
    -public TupleMarshalledBinding(Class<E> cls)
    -
    -
    Creates a tuple marshalled binding object. +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TupleMarshalledBinding

        +
        public TupleMarshalledBinding(java.lang.Class<E> cls)
        +
        Creates a tuple marshalled binding object.

        The given class is used to instantiate key or data objects using - Class.newInstance(), and therefore must be a public class and have - a public no-arguments constructor. It must also implement the MarshalledTupleEntry interface.

        -

        -

        -
        Parameters:
        cls - is the class of the key or data objects.
        -
    - + Class.newInstance(), and therefore must be a public class and have + a public no-arguments constructor. It must also implement the MarshalledTupleEntry interface.

+
Parameters:
cls - is the class of the key or data objects.
+ + + + - - - - - - -
-Method Detail
- -

-entryToObject

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

-

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

-objectToEntry

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

-

-
Specified by:
objectToEntry in class TupleBinding<E extends MarshalledTupleEntry>
-
-
-
Parameters:
object - is the key or data object.
output - is the tuple entry to which the key or data should be - written.
-
-
+ + + +
+ -
- - - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-Copyright (c) 1996, 2012 Oracle and/or its affiliates. All rights reserved. - - +

Copyright (c) 1996, 2015 Oracle and/or its affiliates. All rights reserved.

+ + -- cgit v1.2.1