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/MultipleEntry.html | 572 +++++++++++++------------- 1 file changed, 284 insertions(+), 288 deletions(-) (limited to 'docs/java/com/sleepycat/db/MultipleEntry.html') diff --git a/docs/java/com/sleepycat/db/MultipleEntry.html b/docs/java/com/sleepycat/db/MultipleEntry.html index 0271bb62..72fe933a 100644 --- a/docs/java/com/sleepycat/db/MultipleEntry.html +++ b/docs/java/com/sleepycat/db/MultipleEntry.html @@ -1,204 +1,199 @@ - - - - - -MultipleEntry (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.db -
-Class MultipleEntry

-
-java.lang.Object
-  extended by com.sleepycat.db.DatabaseEntry
-      extended by com.sleepycat.db.MultipleEntry
-
-
-
Direct Known Subclasses:
MultipleDataEntry, MultipleKeyDataEntry, MultipleKeyNIODataEntry, MultipleNIODataEntry, MultipleRecnoDataEntry, MultipleRecnoNIODataEntry
-
-
-
-
public abstract class MultipleEntry
extends DatabaseEntry
- - -

-An abstract class representing a DatabaseEntry that holds multiple results -returned by a single Cursor get method. Use one of the concrete +

+
com.sleepycat.db
+

Class MultipleEntry

+
+
+ +
+ -

- -

-


- -

- +

+
+ +
+
+
    +
  • - - - - - - -
    -Method Detail
    - -

    -setUserBuffer

    -
    -public void setUserBuffer(int length,
    -                          boolean usermem)
    -
    -
    Description copied from class: DatabaseEntry
    -
    Configures the entry with an application-owned buffer. +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setUserBuffer

        +
        public void setUserBuffer(int length,
        +                 boolean usermem)
        +
        Description copied from class: DatabaseEntry
        +
        Configures the entry with an application-owned buffer.

        The data field of the entry must refer to a buffer that is at least length bytes in length. @@ -207,115 +202,116 @@ public void setUserBuffer(int length, of bytes, the item is copied into the memory to which the data field refers. Otherwise, the size field is set to the length needed for the requested item, and a - MemoryException is thrown. + MemoryException is thrown.

        Applications can determine the length of a record by setting - length to 0 and calling DatabaseEntry.getSize + length to 0 and calling DatabaseEntry.getSize on the return value. -

        -

        -

        -
        Overrides:
        setUserBuffer in class DatabaseEntry
        -
        -
        -
        Parameters:
        length - the length of the buffer -

        usermem - whether the buffer is owned by the application
        -
        -
    -
    - -

    -append_internal

    -
    -protected boolean append_internal(byte[] newdata,
    -                                  int offset,
    -                                  int len,
    -                                  int recno)
    -                           throws DatabaseException
    -
    -
    - -
    Throws: -
    DatabaseException
    -
    -
    -
    - -

    -append_internal

    -
    -protected boolean append_internal(byte[] newdata,
    -                                  int offset,
    -                                  int len)
    -                           throws DatabaseException
    -
    -
    - -
    Throws: -
    DatabaseException
    -
    -
    +

+
+
Overrides:
+
setUserBuffer in class DatabaseEntry
+
Parameters:
length - the length of the buffer +

usermem - whether the buffer is owned by the application
+ + + + + + + + + + + + + + +
+ -
- - - - - - - - - - - - - - - - - - -
-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