public class CustomMultiValueTypeDataIndex<K> extends CustomTypeDataIndex<K>
disableIndexingOffHeapIdProperty
TypeDataIndex.UpdateIndexModes
_DummyOI, _fifoGroupsIndexExtention, _NNullTemplates, _NTemplates, _RTNullTemplates, _RTTemplates, m_AreAnyLogicallDelitions
Constructor and Description |
---|
CustomMultiValueTypeDataIndex(CacheManager cacheManager,
ISpaceIndex index,
int pos,
int indexCreationNumber,
ISpaceIndex.MultiValuePerEntryIndexTypes multiValueType) |
Modifier and Type | Method and Description |
---|---|
void |
insertEntryIndexedField(IEntryCacheInfo pEntry,
K fieldValue,
TypeData pType)
insert entry indexed field from cache.
|
void |
insertEntryIndexedField(IEntryCacheInfo pEntry,
K fieldValue,
TypeData pType,
ArrayList<IObjectInfo<IEntryCacheInfo>> insertBackRefs) |
boolean |
isMultiValuePerEntryIndex() |
protected Iterator<K> |
multiValueIterator(Object mvo) |
protected int |
multiValueSize(Object mvo) |
int |
removeEntryIndexedField(IEntryHolder eh,
ArrayList<IObjectInfo<IEntryCacheInfo>> deletedBackRefs,
K fieldValue,
int refpos,
boolean removeIndexedValue,
IEntryCacheInfo pEntry)
remove entry indexed field from cache.
|
int |
updateIndexValue(TypeData pType,
IEntryHolder eh,
IEntryCacheInfo pEntry,
K original,
K updated,
ArrayList<IObjectInfo<IEntryCacheInfo>> originalBackRefs,
int refpos,
TypeDataIndex.UpdateIndexModes updateMode) |
int |
updateIndexValueUndexXtn(TypeData pType,
IEntryHolder eh,
IEntryCacheInfo pEntry,
K previous,
K updated,
ArrayList<IObjectInfo<IEntryCacheInfo>> previousBackRefs,
int refpos,
boolean entry_double_update) |
getIndexValue, getIndexValueForTemplate, isCustomIndex
addNullNotifyTemplate, addNullReadTakeTemplate, assumeUniqueValue, disableIndexingOffHeapIdProperty, disableIndexUsageForOperation, getCacheManager, getCompoundFifoGroupsIndexForSegment, getCompoundIndexSegments, getCompoundIndexValueForTemplate, getConcurrentExtendedIndex, getExtendedFGIndex, getExtendedFifoGroupsIndexForScanning, getExtendedIndex, getExtendedIndexForScanning, getFifoGroupsIndexExtention, getFifoGroupsIndexType, getIndexCreationNumber, getIndexDefinition, getIndexEntries, getIndexType, getMaxFixedPropertiesSegmentPos, getNonUniqueEntriesStore, getNullEntries, getPos, getSegmentsOriginatingIndexes, getUniqueEntriesStore, getValueType, insertBasicIndexTemplate, insertEntryIndexedField_impl, isCompound, isConsiderValueClone, isExtendedIndex, isFifoGroupsMainIndex, isIndexed, isIndexesBackRefsForOffHeapData, isUniqueIndex, markIndexValue, moveValueBackrefsOnUpdate, numOfEntryIndexBackRefs, prepareForReplacingEntryIndexedField, removeBasicIndexTemplate, removeEntryIndexedField_impl, removeEntryIndexedField_main, removeUniqueIndexedField, setCompoundFifoGroupsIndexForSegment, usedEconomyHashMap
public CustomMultiValueTypeDataIndex(CacheManager cacheManager, ISpaceIndex index, int pos, int indexCreationNumber, ISpaceIndex.MultiValuePerEntryIndexTypes multiValueType)
public boolean isMultiValuePerEntryIndex()
isMultiValuePerEntryIndex
in class TypeDataIndex<K>
public void insertEntryIndexedField(IEntryCacheInfo pEntry, K fieldValue, TypeData pType)
TypeDataIndex
insertEntryIndexedField
in class TypeDataIndex<K>
public void insertEntryIndexedField(IEntryCacheInfo pEntry, K fieldValue, TypeData pType, ArrayList<IObjectInfo<IEntryCacheInfo>> insertBackRefs)
insertEntryIndexedField
in class TypeDataIndex<K>
public int removeEntryIndexedField(IEntryHolder eh, ArrayList<IObjectInfo<IEntryCacheInfo>> deletedBackRefs, K fieldValue, int refpos, boolean removeIndexedValue, IEntryCacheInfo pEntry)
TypeDataIndex
removeEntryIndexedField
in class TypeDataIndex<K>
public int updateIndexValue(TypeData pType, IEntryHolder eh, IEntryCacheInfo pEntry, K original, K updated, ArrayList<IObjectInfo<IEntryCacheInfo>> originalBackRefs, int refpos, TypeDataIndex.UpdateIndexModes updateMode)
updateIndexValue
in class TypeDataIndex<K>
public int updateIndexValueUndexXtn(TypeData pType, IEntryHolder eh, IEntryCacheInfo pEntry, K previous, K updated, ArrayList<IObjectInfo<IEntryCacheInfo>> previousBackRefs, int refpos, boolean entry_double_update)
updateIndexValueUndexXtn
in class TypeDataIndex<K>
protected int multiValueSize(Object mvo)
multiValueSize
in class TypeDataIndex<K>
protected Iterator<K> multiValueIterator(Object mvo)
multiValueIterator
in class TypeDataIndex<K>
Copyright © GigaSpaces.