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. --- .../sleepycat/bind/tuple/TupleTupleKeyCreator.html | 740 ++++++++++----------- 1 file changed, 367 insertions(+), 373 deletions(-) (limited to 'docs/java/com/sleepycat/bind/tuple/TupleTupleKeyCreator.html') diff --git a/docs/java/com/sleepycat/bind/tuple/TupleTupleKeyCreator.html b/docs/java/com/sleepycat/bind/tuple/TupleTupleKeyCreator.html index 854cc3f4..d6505146 100644 --- a/docs/java/com/sleepycat/bind/tuple/TupleTupleKeyCreator.html +++ b/docs/java/com/sleepycat/bind/tuple/TupleTupleKeyCreator.html @@ -1,263 +1,264 @@ - - - - - -TupleTupleKeyCreator (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.bind.tuple -
-Class TupleTupleKeyCreator<E>

-
-java.lang.Object
-  extended by com.sleepycat.bind.tuple.TupleBase<E>
-      extended by com.sleepycat.bind.tuple.TupleTupleKeyCreator<E>
-
-
-
All Implemented Interfaces:
ForeignKeyNullifier, SecondaryKeyCreator
-
-
-
Direct Known Subclasses:
TupleTupleMarshalledKeyCreator
-
-
-
-
public abstract class TupleTupleKeyCreator<E>
extends TupleBase<E>
implements SecondaryKeyCreator, ForeignKeyNullifier
- - -

-An abstract key creator that uses a tuple key and a tuple data entry. This - class takes care of converting the key and data entry to/from TupleInput and TupleOutput objects. +

+
com.sleepycat.bind.tuple
+

Class TupleTupleKeyCreator<E>

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

    -TupleTupleKeyCreator

    -
    -public TupleTupleKeyCreator()
    -
    -
    Creates a tuple-tuple key creator. -

    -

    - +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TupleTupleKeyCreator

        +
        public TupleTupleKeyCreator()
        +
        Creates a tuple-tuple key creator.
        +
      • +
      +
    • +
    - - - - - - -
    -Method Detail
    - -

    -createSecondaryKey

    -
    -public boolean createSecondaryKey(SecondaryDatabase db,
    -                                  DatabaseEntry primaryKeyEntry,
    -                                  DatabaseEntry dataEntry,
    -                                  DatabaseEntry indexKeyEntry)
    -
    -
    Description copied from interface: SecondaryKeyCreator
    -
    Creates a secondary key entry, given a primary key and data entry. +
    - -
    -
    Parameters:
    db - the database to which the secondary key will be added. +

+
+
Specified by:
+
createSecondaryKey in interface SecondaryKeyCreator
+
Parameters:
db - the database to which the secondary key will be added. This parameter is passed for informational purposes but is not commonly used. -

primaryKeyEntry - the primary key entry. This parameter must not be modified +

primaryKeyEntry - the primary key entry. This parameter must not be modified by this method. -

dataEntry - the primary data entry. This parameter must not be modified +

dataEntry - the primary data entry. This parameter must not be modified by this method. -

indexKeyEntry - the secondary key created by this method. -

-

Returns:
true if a key was created, or false to indicate that the key is +

indexKeyEntry - the secondary key created by this method. +

+
Returns:
true if a key was created, or false to indicate that the key is not present. -

- - -
- -

-nullifyForeignKey

-
-public boolean nullifyForeignKey(SecondaryDatabase db,
-                                 DatabaseEntry dataEntry)
-
-
Description copied from interface: ForeignKeyNullifier
-
Sets the foreign key reference to null in the datum of the primary - database. -

-

-
Specified by:
nullifyForeignKey in interface ForeignKeyNullifier
-
-
-
Parameters:
db - the database in which the foreign key integrity +

+ + + + + +
    +
  • +

    nullifyForeignKey

    +
    public boolean nullifyForeignKey(SecondaryDatabase db,
    +                        DatabaseEntry dataEntry)
    +
    Description copied from interface: ForeignKeyNullifier
    +
    Sets the foreign key reference to null in the datum of the primary + database.
    +
    +
    Specified by:
    +
    nullifyForeignKey in interface ForeignKeyNullifier
    +
    Parameters:
    db - the database in which the foreign key integrity constraint is defined. This parameter is passed for informational - purposes but is not commonly used.
    dataEntry - the existing primary datum in which the foreign key + purposes but is not commonly used.
    dataEntry - the existing primary datum in which the foreign key reference should be set to null. This parameter should be updated by - this method if it returns true. -
    Returns:
    true if the datum was modified, or false to indicate that the - key is not present.
    -
-
-
- -

-createSecondaryKey

-
-public abstract boolean createSecondaryKey(TupleInput primaryKeyInput,
-                                           TupleInput dataInput,
-                                           TupleOutput indexKeyOutput)
-
-
Creates the index key from primary key tuple and data tuple. -

-

-
-
-
-
Parameters:
primaryKeyInput - is the TupleInput for the primary key - entry.
dataInput - is the TupleInput for the data entry.
indexKeyOutput - is the destination index key tuple. -
Returns:
true if a key was created, or false to indicate that the key is - not present.
-
-
-
- -

-nullifyForeignKey

-
-public boolean nullifyForeignKey(TupleInput dataInput,
-                                 TupleOutput dataOutput)
-
-
Clears the index key in the tuple data entry. The dataInput should be + this method if it returns true.
+
Returns:
true if the datum was modified, 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