Logo Search packages:      
Sourcecode: db version File versions

OperationStatus com::sleepycat::collections::DataCursor::getNextNoDup ( boolean  lockForWrite  )  throws DatabaseException [inline, package]

Binding version of Cursor.getNext(), join cursor is allowed.

Definition at line 453 of file DataCursor.java.

References com::sleepycat::collections::DataView::dupsView, getLockMode(), com::sleepycat::util::keyrange::RangeCursor::getNext(), and com::sleepycat::util::keyrange::RangeCursor::getNextNoDup().

                                 {

        LockMode lockMode = getLockMode(lockForWrite);
        if (joinCursor != null) {
            return joinCursor.getNext(keyThang, valueThang, lockMode);
        } else if (view.dupsView) {
            return cursor.getNext
                (keyThang, primaryKeyThang, valueThang, lockMode);
        } else {
            return cursor.getNextNoDup
                (keyThang, primaryKeyThang, valueThang, lockMode);
        }
    }


Generated by  Doxygen 1.6.0   Back to index