Package com.j_spaces.core.cache
Class AbstractMultiValueIndexHandler<K>
java.lang.Object
com.j_spaces.core.cache.AbstractMultiValueIndexHandler<K>
- Direct Known Subclasses:
ArrayIndexHandler,CollectionIndexHandler,GeneralMultiValueIndexHandler
TODO add Javadoc
- Since:
- 8.0
- Version:
- 1.0
- Author:
- Yechiel Fefer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinsertEntryIndexedField(IEntryCacheInfo pEntry, K fieldValue, TypeData pType, ArrayList<IObjectInfo<IEntryCacheInfo>> insertBackRefs) multiValueIterator(Object mvo) protected abstract intmultiValueSize(Object mvo) intremoveEntryIndexedField(IEntryHolder eh, ArrayList<IObjectInfo<IEntryCacheInfo>> deletedBackRefs, K fieldValue, int refpos, boolean removeIndexedValue, IEntryCacheInfo pEntry) intupdateMultiValueIndex(TypeData pType, IEntryHolder eh, IEntryCacheInfo pEntry, K original, K updated, ArrayList<IObjectInfo<IEntryCacheInfo>> originalBackRefs, int refpos, TypeDataIndex.UpdateIndexModes updateMode) intupdateMultiValueIndexUndexXtn(TypeData pType, IEntryHolder eh, IEntryCacheInfo pEntry, K previous, K updated, ArrayList<IObjectInfo<IEntryCacheInfo>> previousBackRefs, int refpos)
-
Constructor Details
-
AbstractMultiValueIndexHandler
-
-
Method Details
-
insertEntryIndexedField
public void insertEntryIndexedField(IEntryCacheInfo pEntry, K fieldValue, TypeData pType, ArrayList<IObjectInfo<IEntryCacheInfo>> insertBackRefs) -
removeEntryIndexedField
public int removeEntryIndexedField(IEntryHolder eh, ArrayList<IObjectInfo<IEntryCacheInfo>> deletedBackRefs, K fieldValue, int refpos, boolean removeIndexedValue, IEntryCacheInfo pEntry) -
updateMultiValueIndex
public int updateMultiValueIndex(TypeData pType, IEntryHolder eh, IEntryCacheInfo pEntry, K original, K updated, ArrayList<IObjectInfo<IEntryCacheInfo>> originalBackRefs, int refpos, TypeDataIndex.UpdateIndexModes updateMode) -
updateMultiValueIndexUndexXtn
public int updateMultiValueIndexUndexXtn(TypeData pType, IEntryHolder eh, IEntryCacheInfo pEntry, K previous, K updated, ArrayList<IObjectInfo<IEntryCacheInfo>> previousBackRefs, int refpos) -
multiValueSize
-
multiValueIterator
-