Package com._1c.g5.v8.dt.bm.index.emf
Interface IBmIndexSlicesManager
-
- All Superinterfaces:
IIndexSlicesManager
public interface IBmIndexSlicesManager extends IIndexSlicesManager
Special extension ofIIndexSlicesManager
for BM index store
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
addItem(long id, int order, org.eclipse.xtext.resource.IEObjectDescription item)
Tries to add index element to index sliceSet<Integer>
getItemOrder(long id, Collection<ISliceFilter> predicates)
Gets all additional ids corresponding to the place of the item withid
in BM index store and contained in index slice corresponding to allpredicates
-
Methods inherited from interface com._1c.g5.modeling.xtext.scoping.IIndexSlicesManager
addItem, addSlices, clear, getIndexSliceItems, getIndexSliceItems, getPredicates, removeItem
-
-
-
-
Method Detail
-
addItem
boolean addItem(long id, int order, org.eclipse.xtext.resource.IEObjectDescription item)
Tries to add index element to index slice- Parameters:
id
- special unique id for adding index elementorder
- additional id corresponding to the place ofitem
in BM index storeitem
- index element for adding to index slice, can't benull
- Returns:
true
if index element was added to to even one slice,false
if index element is not supported of this index slice. Supporting index items are determined by predicate from#getPredicate()
-
getItemOrder
Set<Integer> getItemOrder(long id, Collection<ISliceFilter> predicates)
Gets all additional ids corresponding to the place of the item withid
in BM index store and contained in index slice corresponding to allpredicates
- Parameters:
id
- special unique id for getting index elementpredicates
- ids of index slices, can't benull
- Returns:
- additional ids corresponding to the place of the item with
id
in BM index store, nevernull
-
-