com.sleepycat.je.dbi
Interface CursorImpl.WithCursor

Enclosing class:
CursorImpl

public static interface CursorImpl.WithCursor

Callback object for traverseDbWithCursor.


Method Summary
 boolean withCursor(CursorImpl cursor, DatabaseEntry key, DatabaseEntry data)
          Called for each record in the databaseImpl.
 

Method Detail

withCursor

boolean withCursor(CursorImpl cursor,
                   DatabaseEntry key,
                   DatabaseEntry data)
                   throws DatabaseException
Called for each record in the databaseImpl.

Returns:
true to continue or false to stop the enumeration.
Throws:
DatabaseException


Copyright (c) 2004-2010 Oracle. All rights reserved.