Package io.permazen.core
Class SimpleFieldIndex<T>
java.lang.Object
io.permazen.core.SchemaItem
io.permazen.core.Index
io.permazen.core.SimpleIndex<T>
io.permazen.core.SimpleFieldIndex<T>
- Type Parameters:
T
- field's value type
An index on a simple field that is not a sub-field of a complex field.
-
Method Summary
Modifier and TypeMethodDescriptiongetIndex
(Transaction tx) Get this index's view of the given transaction.<R> R
visit
(IndexSwitch<R> target) Apply visitor pattern.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
-
getIndex
Description copied from class:Index
Get this index's view of the given transaction.- Specified by:
getIndex
in classSimpleIndex<T>
- Parameters:
tx
- transaction- Returns:
- view of this index in
tx
-
visit
Description copied from class:Index
Apply visitor pattern.
-