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. --- .../serial/TupleSerialMarshalledKeyCreator.html | 675 +++++++++++---------- 1 file changed, 341 insertions(+), 334 deletions(-) (limited to 'docs/java/com/sleepycat/bind/serial/TupleSerialMarshalledKeyCreator.html') diff --git a/docs/java/com/sleepycat/bind/serial/TupleSerialMarshalledKeyCreator.html b/docs/java/com/sleepycat/bind/serial/TupleSerialMarshalledKeyCreator.html index bd4f9bce..b6623e9a 100644 --- a/docs/java/com/sleepycat/bind/serial/TupleSerialMarshalledKeyCreator.html +++ b/docs/java/com/sleepycat/bind/serial/TupleSerialMarshalledKeyCreator.html @@ -1,362 +1,369 @@ - - - - - -TupleSerialMarshalledKeyCreator (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.bind.serial -
-Class TupleSerialMarshalledKeyCreator<D extends MarshalledTupleKeyEntity>

-
-java.lang.Object
-  extended by com.sleepycat.bind.tuple.TupleBase
-      extended by com.sleepycat.bind.serial.TupleSerialKeyCreator<D>
-          extended by com.sleepycat.bind.serial.TupleSerialMarshalledKeyCreator<D>
-
-
-
All Implemented Interfaces:
ForeignKeyNullifier, SecondaryKeyCreator
-
-
-
-
public class TupleSerialMarshalledKeyCreator<D extends MarshalledTupleKeyEntity>
extends TupleSerialKeyCreator<D>
- - -

-A concrete key creator that works in conjunction with a TupleSerialMarshalledBinding. This key creator works by calling the - methods of the MarshalledTupleKeyEntity interface to create and - clear the index key fields. -

- -

-

-
See Also:
Class Evolution
-
- -

+

+
com.sleepycat.bind.serial
+

Class TupleSerialMarshalledKeyCreator<D extends MarshalledTupleKeyEntity>

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

    -TupleSerialMarshalledKeyCreator

    -
    -public TupleSerialMarshalledKeyCreator(TupleSerialMarshalledBinding<D> binding,
    -                                       String keyName)
    -
    -
    Creates a tuple-serial marshalled key creator. -

    -

    -
    Parameters:
    binding - is the binding used for the tuple-serial entity.
    keyName - is the key name passed to the MarshalledTupleKeyEntity.marshalSecondaryKey(java.lang.String, com.sleepycat.bind.tuple.TupleOutput) method to identify the - index key.
    -
    - + - - - - - - -
    -Method Detail
    - -

    -createSecondaryKey

    -
    -public boolean createSecondaryKey(TupleInput primaryKeyInput,
    -                                  D dataInput,
    -                                  TupleOutput indexKeyOutput)
    -
    -
    Description copied from class: TupleSerialKeyCreator
    -
    Creates the index key entry from primary key tuple entry and - deserialized data entry. -

    -

    -
    Specified by:
    createSecondaryKey in class TupleSerialKeyCreator<D extends MarshalledTupleKeyEntity>
    -
    -
    -
    Parameters:
    primaryKeyInput - is the TupleInput for the primary key +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        createSecondaryKey

        +
        public boolean createSecondaryKey(TupleInput primaryKeyInput,
        +                         D dataInput,
        +                         TupleOutput indexKeyOutput)
        +
        Description copied from class: TupleSerialKeyCreator
        +
        Creates the index key entry from primary key tuple entry and + deserialized data entry.
        +
        +
        Specified by:
        +
        createSecondaryKey in class TupleSerialKeyCreator<D extends MarshalledTupleKeyEntity>
        +
        Parameters:
        primaryKeyInput - is the TupleInput for the primary key entry, or null if no primary key entry is used to construct the index - key.
        dataInput - is the deserialized data entry, or null if no data - entry is used to construct the index key.
        indexKeyOutput - is the destination index key tuple. For index + key.
        dataInput - is the deserialized data entry, or null if no data + entry is used to construct the index key.
        indexKeyOutput - is the destination index key tuple. For index keys which are optionally present, no tuple entry should be output to - indicate that the key is not present or null. -
        Returns:
        true if a key was created, or false to indicate that the key is - not present.
        -
    -
    -
    - -

    -nullifyForeignKey

    -
    -public D nullifyForeignKey(D dataInput)
    -
    -
    Description copied from class: TupleSerialKeyCreator
    -
    Clears the index key in the deserialized data entry. + indicate that the key is not present or null.
    +
    Returns:
    true if a key was created, or false to indicate that the key is + not present.
    +
  • +
+ + + + + + + + + + +
+
-
- - - - - - - - - - - - - - - - - - -
-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