## Uses of Class
com.sleepycat.db.Cursor

- Packages that use Cursor
  Package | Description
  --- | ---
  com.sleepycat.db | Berkeley DB Java API [reference guide] [Java programming notes].

- - ### Uses of Cursor in com.sleepycat.db

    Subclasses of Cursor in com.sleepycat.db
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `SecondaryCursor` | A database cursor for a secondary database.

    Methods in com.sleepycat.db that return Cursor
    Modifier and Type | Method | Description
    --- | --- | ---
    `Cursor` | Cursor.`dup​(boolean samePosition)` | Creates a new cursor that uses the same transaction and locker ID as the original cursor.
    `Cursor` | SecondaryCursor.`dup​(boolean samePosition)` | Returns a new `SecondaryCursor` for the same transaction as the original cursor.
    `Cursor` | DatabaseStream.`getCursor()` | Return the `Cursor` handle associated with this database stream.
    `Cursor` | Database.`openCursor​(Transaction txn, CursorConfig config)` | Return a cursor into the database.
    `Cursor` | SecondaryDatabase.`openCursor​(Transaction txn, CursorConfig config)` | Return a cursor into the database.

    Methods in com.sleepycat.db with parameters of type Cursor
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | Cursor.`compare​(Cursor OtherCursor)` | Return a comparison of the two cursors.
    `JoinCursor` | Database.`join​(Cursor[] cursors, JoinConfig config)` | Creates a specialized join cursor for use in performing equality or natural joins on secondary indices.

    Constructors in com.sleepycat.db with parameters of type Cursor
    Constructor | Description
    --- | ---
    `DatabaseStream​(Cursor cursor, DatabaseStreamConfig config)` |

Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.