Package io.permazen
Class PermazenCompositeIndex
java.lang.Object
io.permazen.PermazenSchemaItem
io.permazen.PermazenCompositeIndex
A composite index.
-
Method Summary
Modifier and TypeMethodDescriptionGet thePermazenSimpleField
s on which this index is based.View this index.Get the corresonding core API database instance.Methods inherited from class io.permazen.PermazenSchemaItem
getName, getSchemaId, getStorageId, toString
-
Method Details
-
getFields
Get thePermazenSimpleField
s on which this index is based.- Returns:
- this index's fields, in indexed order
-
getIndex
View this index.The returned index will have time
Index2
,Index3
, etc., depending on the number of fields indexed.- Parameters:
ptx
- transaction- Returns:
- view of this index in
ptx
- Throws:
StaleTransactionException
- ifptx
is no longer usableIllegalArgumentException
- ifptx
is null
-
getSchemaItem
Description copied from class:PermazenSchemaItem
Get the corresonding core API database instance.- Overrides:
getSchemaItem
in classPermazenSchemaItem
- Returns:
- this instance's correpsonding
SchemaItem
-