/** * {@inheritDoc} */ @Override public LockResult nextLe(byte[] limitKey) throws IOException { return source.nextLe(limitKey); }
/** * {@inheritDoc} */ @Override public LockResult nextLe(byte[] limitKey) throws IOException { return source.nextLe(limitKey); }
/** * {@inheritDoc} */ @Override public LockResult nextLe(byte[] limitKey) throws IOException { return source.nextLe(limitKey); }
@Override public LockResult previousGe(byte[] limitKey) throws IOException { return mSource.nextLe(limitKey); }
@Override public LockResult previousGe(byte[] limitKey) throws IOException { return mSource.nextLe(limitKey); }
@Override public LockResult previousGe(byte[] limitKey) throws IOException { return mSource.nextLe(limitKey); }
@Override public LockResult nextLe(byte[] limitKey) throws IOException { mKey = null; return mSource.nextLe(mView.applyPrefix(limitKey)); }
@Override public LockResult nextLe(byte[] limitKey) throws IOException { mKey = null; return mSource.nextLe(mView.applyPrefix(limitKey)); }
@Override public LockResult nextLe(byte[] limitKey) throws IOException { mKey = null; return mSource.nextLe(mView.applyPrefix(limitKey)); }
@Override public LockResult nextLe(byte[] limitKey) throws IOException { if (mView.endRangeCompare(limitKey) <= 0) { return mSource.nextLe(limitKey); } else { return next(); } }
@Override public LockResult nextLe(byte[] limitKey) throws IOException { if (mView.endRangeCompare(limitKey) <= 0) { LockResult result = mSource.nextLe(limitKey); mOutOfBounds = false; return result; } else { return next(); } }
@Override public LockResult nextLe(byte[] limitKey) throws IOException { if (mView.endRangeCompare(limitKey) <= 0) { return mSource.nextLe(limitKey); } else { return next(); } }
@Override public LockResult next() throws IOException { BoundedView view = mView; byte[] end = view.mEnd; Cursor source = mSource; if (end == null) { return source.next(); } else if ((view.mMode & END_EXCLUSIVE) == 0) { return source.nextLe(end); } else { return source.nextLt(end); } }
@Override public LockResult next() throws IOException { BoundedView view = mView; byte[] end = view.mEnd; Cursor source = mSource; if (end == null) { return source.next(); } else if ((view.mMode & END_EXCLUSIVE) == 0) { return source.nextLe(end); } else { return source.nextLt(end); } }
@Override public LockResult next() throws IOException { LockResult result; BoundedView view = mView; byte[] end = view.mEnd; Cursor source = mSource; if (end == null) { result = source.next(); } else if ((view.mMode & END_EXCLUSIVE) == 0) { result = source.nextLe(end); } else { result = source.nextLt(end); } mOutOfBounds = false; return result; }
@Override public LockResult nextLe(final byte[] limitTKey) throws IOException { byte[] limitKey = inverseTransformKey(limitTKey); if (limitKey == null) { limitKey = mTransformer.inverseTransformKeyLt(limitTKey); if (limitKey == null) { reset(); return LockResult.UNOWNED; } } final Cursor c = mSource; while (true) { LockResult result; try { result = c.nextLe(limitKey); } catch (LockFailureException e) { throw transformCurrent(e); } result = transformCurrent(result); if (result != null) { return result; } } }
@Override public LockResult nextLe(final byte[] limitTKey) throws IOException { byte[] limitKey = inverseTransformKey(limitTKey); if (limitKey == null) { limitKey = mTransformer.inverseTransformKeyLt(limitTKey); if (limitKey == null) { reset(); return LockResult.UNOWNED; } } final Cursor c = mSource; while (true) { LockResult result; try { result = c.nextLe(limitKey); } catch (LockFailureException e) { throw transformCurrent(e); } result = transformCurrent(result); if (result != null) { return result; } } }
@Override public LockResult nextLe(final byte[] limitTKey) throws IOException { byte[] limitKey = inverseTransformKey(limitTKey); if (limitKey == null) { limitKey = mTransformer.inverseTransformKeyLt(limitTKey); if (limitKey == null) { reset(); return LockResult.UNOWNED; } } final Cursor c = mSource; while (true) { LockResult result; try { result = c.nextLe(limitKey); } catch (LockFailureException e) { throw transformCurrent(e); } result = transformCurrent(result); if (result != null) { return result; } } }
result = c.nextLe(limitKey); } catch (LockFailureException e) { throw transformCurrent(e);
result = c.nextLe(limitKey); } catch (LockFailureException e) { throw transformCurrent(e);