D - the data type for which index is being createdC - the type of collection storedpublic static class AbstractIndexManager.DataIndex<D extends Data,C>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<D,C> |
dataMap |
protected java.util.Map<java.lang.String,C> |
dbDataMap |
| Constructor and Description |
|---|
DataIndex() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
protected D |
getOriginalData(D data) |
protected C |
putIndexCollection(D data,
C collection)
Put the collection to use for the specified data
|
protected C |
removeIndexCollection(D data)
Removes the mapping for a key from this map if it is present
(optional operation).
|
protected java.util.Map<java.lang.String,C> dbDataMap
protected C putIndexCollection(D data, C collection)
data - the data for which the Index is being modifiedcollection - the collection to associate to the data (must not be null)data, or
null if there was no mapping for data.protected C removeIndexCollection(D data)
data - the data for which the Index is being removedkey, or
null if there was no mapping for keypublic void clear()
Copyright © 2001-2019 Jalios SA. All Rights Reserved.