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/MultipleDataEntry.html | 795 +++++++++++----------- 1 file changed, 395 insertions(+), 400 deletions(-) (limited to 'docs/java/com/sleepycat/db/MultipleDataEntry.html') diff --git a/docs/java/com/sleepycat/db/MultipleDataEntry.html b/docs/java/com/sleepycat/db/MultipleDataEntry.html index ecf7bdd0..38359d30 100644 --- a/docs/java/com/sleepycat/db/MultipleDataEntry.html +++ b/docs/java/com/sleepycat/db/MultipleDataEntry.html @@ -1,427 +1,422 @@ - - - - - -MultipleDataEntry (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.db -
-Class MultipleDataEntry

-
-java.lang.Object
-  extended by com.sleepycat.db.DatabaseEntry
-      extended by com.sleepycat.db.MultipleEntry
-          extended by com.sleepycat.db.MultipleDataEntry
-
-
-
-
public class MultipleDataEntry
extends MultipleEntry
- - -

-A DatabaseEntry that holds multiple data items returned by a single -Database or Cursor get call. -

- -

-


- -

- +

+
com.sleepycat.db
+

Class MultipleDataEntry

+
+
+ +
+
    +
  • +
    +
    +
    public class MultipleDataEntry
    +extends MultipleEntry
    +
    A DatabaseEntry that holds multiple data items returned by a single +Database or Cursor get call.
    +
  • +
+
+
+ +
+
+
    +
  • - - - - - - -
    -Constructor Detail
    - -

    -MultipleDataEntry

    -
    -public MultipleDataEntry()
    -
    -
    Construct an entry with no data. The object must be configured - before use with the MultipleEntry.setUserBuffer method. -

    -

    -
    - -

    -MultipleDataEntry

    -
    -public MultipleDataEntry(byte[] data)
    -
    -
    Construct an entry with a given byte array. The offset is +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        MultipleDataEntry

        +
        public MultipleDataEntry()
        +
        Construct an entry with no data. The object must be configured + before use with the MultipleEntry.setUserBuffer method.
        +
      • +
      + + + +
        +
      • +

        MultipleDataEntry

        +
        public MultipleDataEntry(byte[] data)
        +
        Construct an entry with a given byte array. The offset is set to zero; the size is set to the length of the array. If null is passed, the object must be configured before use with the - MultipleEntry.setUserBuffer method. -

        -

        -

        -
        Parameters:
        data - Byte array wrapped by the entry.
        -
    -
    - -

    -MultipleDataEntry

    -
    -public MultipleDataEntry(byte[] data,
    -                         int offset,
    -                         int size)
    -
    -
    Constructs a DatabaseEntry with a given byte array, offset and size. -

    -

    -

    -
    Parameters:
    data - Byte array wrapped by the DatabaseEntry.
    offset - Offset in the first byte in the byte array to be included.
    size - Number of bytes in the byte array to be included.
    -
    - + MultipleEntry.setUserBuffer method. +

+
Parameters:
data - Byte array wrapped by the entry.
+ + + + + + + + - - - - - - -
-Method Detail
- -

-next

-
-public boolean next(DatabaseEntry data)
-
-
Get the next data element in the returned set. This method may only - be called after a successful call to a Database or - Cursor get method with this object as the data parameter. +
    +
  • + + +

    Method Detail

    + + + +
      +
    • +

      next

      +
      public boolean next(DatabaseEntry data)
      +
      Get the next data element in the returned set. This method may only + be called after a successful call to a Database or + Cursor get method with this object as the data parameter.

      When used with the Queue and Recno access methods, data.getData() will return null for deleted records. -

      -

      -

      -
      Parameters:
      data - an entry that is set to refer to the next data element in the returned +

      +
      Parameters:
      data - an entry that is set to refer to the next data element in the returned set. -

      -

      Returns:
      indicates whether a value was found. A return of false - indicates that the end of the set was reached.
      -
-
-
- -

-append

-
-public boolean append(byte[] data,
-                      int offset,
-                      int len)
-               throws DatabaseException
-
-
Append an entry to the bulk buffer. -

-

-

-
Parameters:
data - an array containing the record to be added.
offset - the position in the data array where the record starts.
len - the length of the record, in bytes, to be copied from the data array. -

-

Returns:
indicates whether there was space. A return of false - indicates that the specified entry could not fit in the buffer. -
Throws: -
DatabaseException
-
-
-
- -

-append

-
-public boolean append(DatabaseEntry data)
-               throws DatabaseException
-
-
Append an entry to the bulk buffer. -

-

-

-
Parameters:
data - the record to be appended, using the offset and size specified in the - DatabaseEntry. -

-

Returns:
indicates whether there was space. A return of false - indicates that the specified entry could not fit in the buffer. -
Throws: -
DatabaseException
-
-
-
- -

-append

-
-public boolean append(byte[] data)
-               throws DatabaseException
-
-
Append an entry to the bulk buffer. -

-

-

-
Parameters:
data - an array containing the record to be added. -

-

Returns:
indicates whether there was space. A return of false - indicates that the specified entry could not fit in the buffer. -
Throws: -
DatabaseException
-
-
+

+

Returns:
indicates whether a value was found. A return of false + indicates that the end of the set was reached.
+ + + + + +
    +
  • +

    append

    +
    public boolean append(byte[] data,
    +             int offset,
    +             int len)
    +               throws DatabaseException
    +
    Append an entry to the bulk buffer. +

    +
    Parameters:
    data - an array containing the record to be added.
    offset - the position in the data array where the record starts.
    len - the length of the record, in bytes, to be copied from the data array. +

    +
    Returns:
    indicates whether there was space. A return of false + indicates that the specified entry could not fit in the buffer.
    +
    Throws:
    +
    DatabaseException
    +
  • +
+ + + +
    +
  • +

    append

    +
    public boolean append(DatabaseEntry data)
    +               throws DatabaseException
    +
    Append an entry to the bulk buffer. +

    +
    Parameters:
    data - the record to be appended, using the offset and size specified in the + DatabaseEntry. +

    +
    Returns:
    indicates whether there was space. A return of false + indicates that the specified entry could not fit in the buffer.
    +
    Throws:
    +
    DatabaseException
    +
  • +
+ + + +
    +
  • +

    append

    +
    public boolean append(byte[] data)
    +               throws DatabaseException
    +
    Append an entry to the bulk buffer. +

    +
    Parameters:
    data - an array containing the record to be added. +

    +
    Returns:
    indicates whether there was space. A return of false + indicates that the specified entry could not fit in the buffer.
    +
    Throws:
    +
    DatabaseException
    +
  • +
+ + + + +
+ -
- - - - - - - - - - - - - - - - - - -
-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