Java 操作BDB 如何实现复合查询? 急

例如: select * from table where A=? and B=? and c<? order by D

如果要使用DPL, 就比较简单。
see:
http://www.oracle.com/technetwork/database/berkeleydb/performing.pdf

嘛意思?没看明白

[code="java"]public class Test {
public static List get(String key) {
ArrayList nuclearStorageValue = new ArrayList();

    DatabaseEntry queryKey = new DatabaseEntry();
    DatabaseEntry value = new DatabaseEntry();
    queryKey.setData(key.getBytes());
    Cursor cursor = null;
    try {
        cursor = db.openCursor(null, null);
        for (
                OperationStatus status = cursor.getSearchKey(queryKey, value,LockMode.READ_UNCOMMITTED);
                status == OperationStatus.SUCCESS; 
                status = cursor.getNextDup(queryKey, value, LockMode.RMW)
                ) {

            nuclearStorageValue.add(value.getData().toString());
        }
    } catch (DatabaseException e) {
        System.out.println(e);
    } finally {
        attemptClose(cursor);
    }
    return nuclearStorageValue;
}

}
[/code]