Logo Search packages:      
Sourcecode: db version File versions

com::sleepycat::collections::DataCursor::DataCursor ( DataView  view,
boolean  writeAllowed,
Object  beginKey,
boolean  beginInclusive,
Object  endKey,
boolean  endInclusive 
) throws DatabaseException [inline, package]

Creates a cursor for a given view and key range. Used by unit tests.

Definition at line 85 of file DataCursor.java.

References init(), com::sleepycat::collections::DataView::range, and com::sleepycat::collections::DataView::subRange().

                                 {

        init(view, writeAllowed, null,
             view.subRange
                (view.range, beginKey, beginInclusive, endKey, endInclusive));
    }


Generated by  Doxygen 1.6.0   Back to index