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/serial/SerialSerialKeyCreator.html | 897 ++++++++++----------- 1 file changed, 439 insertions(+), 458 deletions(-) (limited to 'docs/java/com/sleepycat/bind/serial/SerialSerialKeyCreator.html') diff --git a/docs/java/com/sleepycat/bind/serial/SerialSerialKeyCreator.html b/docs/java/com/sleepycat/bind/serial/SerialSerialKeyCreator.html index c1c8aa0d..db682b05 100644 --- a/docs/java/com/sleepycat/bind/serial/SerialSerialKeyCreator.html +++ b/docs/java/com/sleepycat/bind/serial/SerialSerialKeyCreator.html @@ -1,350 +1,334 @@ - - - - - -SerialSerialKeyCreator (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.bind.serial -
-Class SerialSerialKeyCreator<PK,D,SK>

-
-java.lang.Object
-  extended by com.sleepycat.bind.serial.SerialSerialKeyCreator<PK,D,SK>
-
-
-
All Implemented Interfaces:
ForeignKeyNullifier, SecondaryKeyCreator
-
-
-
-
public abstract class SerialSerialKeyCreator<PK,D,SK>
extends Object
implements SecondaryKeyCreator, ForeignKeyNullifier
- - -

-A abstract key creator that uses a serial key and a serial data entry. +

+
com.sleepycat.bind.serial
+

Class SerialSerialKeyCreator<PK,D,SK>

+
+
+ +
+
+
See Also:
Class Evolution
+ + +
+
+ +
+
+
+
+
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 SK createSecondaryKey(PK primaryKey,
-                                      D data)
-
-
Creates the index key object from primary key and data objects. -

-

-
-
-
-
Parameters:
primaryKey - is the deserialized source primary key entry, or - null if no primary key entry is used to construct the index key.
data - is the deserialized source data entry, or null if no - data entry is used to construct the index key. -
Returns:
the destination index key object, or null to indicate that - the key is not present.
-
-
-
- -

-nullifyForeignKey

-
-public D nullifyForeignKey(D data)
-
-
Clears the index key in a data object. + 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