Package com.sleepycat.je.dbi.CursorImpl

Examples of com.sleepycat.je.dbi.CursorImpl.SearchMode


                       final SearchMode searchModeParam,
                       final Comparator<byte[]> searchComparator,
                       final RangeConstraint rangeConstraint) {
        assert key != null && data != null;

        final SearchMode searchMode;
        switch (searchModeParam) {
        case BOTH:
            searchMode = SearchMode.SET;
            break;
        case BOTH_RANGE:
View Full Code Here


            if (ln.isDeleted()) {
                /* Perform an exact search by key or key/data. */
                final DatabaseEntry key = new DatabaseEntry(lnEntry.getKey());
                final byte[] dupKey = lnEntry.getDupKey();
                final DatabaseEntry data = new DatabaseEntry();
                final SearchMode searchMode;
                if (dupKey == null) {
                    searchMode = SearchMode.SET;
                } else {
                    searchMode = SearchMode.BOTH;
                    data.setData(dupKey);
View Full Code Here

TOP

Related Classes of com.sleepycat.je.dbi.CursorImpl.SearchMode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.