@Override public OIndexCursor iterateEntriesBetween(Object fromKey, boolean fromInclusive, Object toKey, boolean toInclusive, boolean ascOrder) { while (true) { try { return storage.iterateIndexEntriesBetween(indexId, fromKey, fromInclusive, toKey, toInclusive, ascOrder, null); } catch (OInvalidIndexEngineIdException e) { doReloadIndexEngine(); } } }
@Override public OIndexCursor iterateEntriesBetween(Object fromKey, boolean fromInclusive, Object toKey, boolean toInclusive, boolean ascOrder) { fromKey = getCollatingValue(fromKey); toKey = getCollatingValue(toKey); acquireSharedLock(); try { while (true) try { return storage.iterateIndexEntriesBetween(indexId, fromKey, fromInclusive, toKey, toInclusive, ascOrder, null); } catch (OInvalidIndexEngineIdException ignore) { doReloadIndexEngine(); } } finally { releaseSharedLock(); } }
@Override public OIndexCursor iterateEntriesBetween(Object fromKey, boolean fromInclusive, Object toKey, boolean toInclusive, boolean ascOrder) { fromKey = getCollatingValue(fromKey); toKey = getCollatingValue(toKey); acquireSharedLock(); try { while (true) { try { return storage.iterateIndexEntriesBetween(indexId, fromKey, fromInclusive, toKey, toInclusive, ascOrder, MultiValuesTransformer.INSTANCE); } catch (OInvalidIndexEngineIdException ignore) { doReloadIndexEngine(); } } } finally { releaseSharedLock(); } }