Package io.permazen
Class PermazenCompositeIndex
java.lang.Object
io.permazen.PermazenSchemaItem
io.permazen.PermazenCompositeIndex
A composite index.
-
Method Summary
Modifier and TypeMethodDescriptionGet thePermazenSimpleFields 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 thePermazenSimpleFields 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- ifptxis no longer usableIllegalArgumentException- ifptxis null
-
getSchemaItem
Description copied from class:PermazenSchemaItemGet the corresonding core API database instance.- Overrides:
getSchemaItemin classPermazenSchemaItem- Returns:
- this instance's correpsonding
SchemaItem
-