Package com.j_spaces.core.cache
Interface IExtendedIndexScanPositioner<K,T>
- All Known Subinterfaces:
IExtendedEntriesIndex<K,,V> IExtendedIndex<K,V>
- All Known Implementing Classes:
ExtendedIndexHandler,FifoGroupsExtendedIndexHandler,TemplatesExtendedIndexHandler
public interface IExtendedIndexScanPositioner<K,T>
TODO add Javadoc
- Since:
- 7.5
- Version:
- 1.0
- Author:
- Yechiel Fefer
-
Method Summary
Modifier and TypeMethodDescriptionestablishScan(K startPos, short relation, K endPos, boolean endPosInclusive) establish a scan according to the relation given and startPos : the start-scan object , null means scan all values.establishScan(K startPos, short relation, K endPos, boolean endPosInclusive, boolean ordered) establish a scan according to the relation given and startPos : the start-scan object , null means scan all values.
-
Method Details
-
establishScan
establish a scan according to the relation given and startPos : the start-scan object , null means scan all values. The relation is from com.j_spaces.client.TemplateMatchCodes: LT, LE, GT, GE (other codes are not relevant) endPos- key up to (or null if no limit in index) endPosInclusive : is the endPos up to (or down to) and including ? returns an IOrderedIndexScan object which enables scanning the ordered index, Null if no relevant elements to scan -
establishScan
IScanListIterator<T> establishScan(K startPos, short relation, K endPos, boolean endPosInclusive, boolean ordered) establish a scan according to the relation given and startPos : the start-scan object , null means scan all values. The relation is from com.j_spaces.client.TemplateMatchCodes: LT, LE, GT, GE (other codes are not relevant) endPos- key up to (or null if no limit in index) endPosInclusive : is the endPos up to (or down to) and including ? ordered - according to the condition. GT, GE ==> ascending, LT, LE =====> descending. returns an IOrderedIndexScan object which enables scanning the ordered index, Null if no relevant elements to scan
-