Logo Search packages:      
Sourcecode: db version File versions

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

Binding version of Cursor.getPrevNoDup(), no join cursor allowed.

Definition at line 509 of file DataCursor.java.

References checkNoJoinCursor(), com::sleepycat::collections::DataView::dupsView, getLockMode(), com::sleepycat::util::keyrange::RangeCursor::getPrev(), and com::sleepycat::util::keyrange::RangeCursor::getPrevNoDup().

                                 {

        checkNoJoinCursor();
        LockMode lockMode = getLockMode(lockForWrite);
        if (view.dupsView) {
            return null;
        } else if (view.dupsView) {
            return cursor.getPrev
                (keyThang, primaryKeyThang, valueThang, lockMode);
        } else {
            return cursor.getPrevNoDup
                (keyThang, primaryKeyThang, valueThang, lockMode);
        }
    }


Generated by  Doxygen 1.6.0   Back to index