com.sleepycat.je.dbi
Class CursorImpl.SearchMode

java.lang.Object
  extended by com.sleepycat.je.dbi.CursorImpl.SearchMode
Enclosing class:
CursorImpl

public static class CursorImpl.SearchMode
extends Object

public for Cursor et al


Field Summary
static CursorImpl.SearchMode BOTH
           
static CursorImpl.SearchMode BOTH_RANGE
           
static CursorImpl.SearchMode SET
           
static CursorImpl.SearchMode SET_RANGE
           
 
Method Summary
 boolean isDataSearch()
          Returns true when the data value is included in the search, i.e., for BOTH and BOTH_RANGE.
 boolean isExactSearch()
          Returns true when the key or key/data search is exact, i.e., for SET and BOTH.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SET

public static final CursorImpl.SearchMode SET

BOTH

public static final CursorImpl.SearchMode BOTH

SET_RANGE

public static final CursorImpl.SearchMode SET_RANGE

BOTH_RANGE

public static final CursorImpl.SearchMode BOTH_RANGE
Method Detail

isExactSearch

public final boolean isExactSearch()
Returns true when the key or key/data search is exact, i.e., for SET and BOTH.


isDataSearch

public final boolean isDataSearch()
Returns true when the data value is included in the search, i.e., for BOTH and BOTH_RANGE.


toString

public String toString()
Overrides:
toString in class Object


Copyright 2004-2005 Sleepycat, Inc. All Rights Reserved.