Package io.permazen.core
Class ListElementIndex<E>
java.lang.Object
- Type Parameters:
E
- list element type
An index on the elements of a list field.
-
Method Summary
Modifier and TypeMethodDescriptionGet this index's view of the given transaction, including list index.<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
-
getElementIndex
Get this index's view of the given transaction, including list index.The returned index includes the list elements and their index positions in the list.
- Parameters:
tx
- transaction- Returns:
- view of this index in
tx
- Throws:
IllegalArgumentException
- iftx
is null
-
visit
Description copied from class:Index
Apply visitor pattern.
-