Package io.permazen.core
Class MapValueIndex<K,V>
- Type Parameters:
K
- map key typeV
- map value type
An index on the values of a map field.
-
Method Summary
Modifier and TypeMethodDescriptionGet this index's view of the given transaction, including entry key.<R> R
visit
(IndexSwitch<R> target) Apply visitor pattern.Methods inherited from class io.permazen.core.ComplexSubFieldIndex
getIndex
Methods inherited from class io.permazen.core.SimpleIndex
getEncoding, getField, getKey, getKey
Methods inherited from class io.permazen.core.Index
genericize, getEncodings, getFields, getKey, getKey, getObjType, isComposite, toString
Methods inherited from class io.permazen.core.SchemaItem
getName, getSchema, getSchemaId, getStorageId
-
Method Details
-
getValueIndex
Get this index's view of the given transaction, including entry key.The returned index includes the map values and their associated keys.
- Parameters:
tx
- transaction- Returns:
- view of this index in
tx
- Throws:
IllegalArgumentException
- iftx
is null
-
visit
Description copied from class:Index
Apply visitor pattern.
-