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> Rvisit(IndexSwitch<R> target) Apply visitor pattern.Methods inherited from class io.permazen.core.SimpleIndex
getEncoding, getField, getKey, getKeyMethods inherited from class io.permazen.core.Index
genericize, getEncodings, getFields, getKey, getKey, getObjType, isComposite, toStringMethods inherited from class io.permazen.core.SchemaItem
getName, getSchema, getSchemaId, getStorageId
-
Method Details
-
getIndex
Description copied from class:IndexGet this index's view of the given transaction.- Specified by:
getIndexin classSimpleIndex<T>- Parameters:
tx- transaction- Returns:
- view of this index in
tx
-
visit
Description copied from class:IndexApply visitor pattern.
-