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. --- docs/java/com/sleepycat/db/BtreeCompressor.html | 476 ++++++++++++------------ 1 file changed, 237 insertions(+), 239 deletions(-) (limited to 'docs/java/com/sleepycat/db/BtreeCompressor.html') diff --git a/docs/java/com/sleepycat/db/BtreeCompressor.html b/docs/java/com/sleepycat/db/BtreeCompressor.html index 30f899b5..90b81da4 100644 --- a/docs/java/com/sleepycat/db/BtreeCompressor.html +++ b/docs/java/com/sleepycat/db/BtreeCompressor.html @@ -1,264 +1,262 @@ - - - - - -BtreeCompressor (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.db -
-Interface BtreeCompressor

-
-
-
public interface BtreeCompressor
- - -

-An interface specifying how Btree compression works. -

- -

-


- -

- +

+
com.sleepycat.db
+

Interface BtreeCompressor

+
+
+
+
    +
  • +
    +
    +
    public interface BtreeCompressor
    +
    An interface specifying how Btree compression works.
    +
  • +
+
+
+ +
+
+
    +
  • - - - - - - -
    -Method Detail
    - -

    -compress

    -
    -boolean compress(Database db,
    -                 DatabaseEntry prevKey,
    -                 DatabaseEntry prevData,
    -                 DatabaseEntry key,
    -                 DatabaseEntry data,
    -                 DatabaseEntry dest)
    -
    -
    The application-specific Btree compress callback. +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        compress

        +
        boolean compress(Database db,
        +               DatabaseEntry prevKey,
        +               DatabaseEntry prevData,
        +               DatabaseEntry key,
        +               DatabaseEntry data,
        +               DatabaseEntry dest)
        +
        The application-specific Btree compress callback.

        The compress function must return true on success and false on failure. If the compressed data is larger than dest.getUserBufferLength() the function should set the required length in the dest DatabaseEntry via setSize and return false. -

        -

        -

        -
        Parameters:
        db - The enclosing database handle.
        prevKey - A database entry representing the previous key from the compressed stream.
        prevData - A database entry representing the data matching prevKey key entry.
        key - A database entry representing representing the application supplied key.
        data - A database entry representing representing the application supplied data.
        dest - A database entry representing the data stored in the tree. This is where - the callback function should write the compressed data.
        -
        -
    -
    - -

    -decompress

    -
    -boolean decompress(Database db,
    -                   DatabaseEntry prevKey,
    -                   DatabaseEntry prevData,
    -                   DatabaseEntry compressed,
    -                   DatabaseEntry key,
    -                   DatabaseEntry data)
    -
    -
    The application-specific Btree decompress callback. +

+
Parameters:
db - The enclosing database handle.
prevKey - A database entry representing the previous key from the compressed stream.
prevData - A database entry representing the data matching prevKey key entry.
key - A database entry representing representing the application supplied key.
data - A database entry representing representing the application supplied data.
dest - A database entry representing the data stored in the tree. This is where + the callback function should write the compressed data.
+ + + + + + + + + + +
+ -
- - - - - - - - - - - - - - - - - - -
-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