本文整理了Java中com.sleepycat.je.Cursor.getCurrent()
方法的一些代码示例,展示了Cursor.getCurrent()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Cursor.getCurrent()
方法的具体详情如下:
包路径:com.sleepycat.je.Cursor
类名称:Cursor
方法名:getCurrent
[英]Returns the key/data pair to which the cursor refers.
Calling this method is equivalent to calling #get(DatabaseEntry,DatabaseEntry,Get,ReadOptions) with Get#CURRENT.
[中]返回光标引用的键/数据对。
调用此方法相当于使用get#CURRENT调用#get(DatabaseEntry、DatabaseEntry、get、ReadOptions)。
代码示例来源:origin: com.amazon.carbonado/carbonado-sleepycat-je
@Override
protected boolean cursor_getCurrent() throws Exception {
return cursor().getCurrent(mSearchKey, mData, mLockMode) == SUCCESS;
}
代码示例来源:origin: com.sleepycat/je
more = false;
} else {
cursor.getCurrent(lastKey, lastData, null);
代码示例来源:origin: addthis/hydra
cursor.getCurrent(dvs, dv, lockMode);
代码示例来源:origin: addthis/hydra
status = cursor.getPrev(dk, dvs, lockMode);
if (status == opSuccess && comparison >= 0 && cursor.getCurrent(dk, dv, lockMode) == opSuccess) {
byte[] rkey = dk.getData();
byte[] rval = dv.getData();
内容来源于网络,如有侵权,请联系作者删除!