Uses of Class
io.permazen.schema.SchemaModel
Package
Description
Abstraction layer allowing access to a
Database
using normal Java objects.Components that support integrating Permazen into a Java Console Toolkit console.
Classes for parsing command line flags in order to configure a Permazen command line interface (CLI) session.
Core classes for the Permazen Java persistence layer.
Permazen core API utility classes.
Classes associated with
Jsck
, the Permazen key/value database consistency checker.Classes for modeling Permazen
Database
schemas.-
Uses of SchemaModel in io.permazen
Modifier and TypeMethodDescriptionPermazen.getSchemaModel()
Get theSchemaModel
associated with this instance derived from the annotations on the scanned classes, including actual storage ID assignments.Permazen.getSchemaModel
(boolean withStorageIds) Get theSchemaModel
associated with this instance derived from the annotations on the scanned classes. -
Uses of SchemaModel in io.permazen.cli
Modifier and TypeMethodDescriptionSession.getSchemaModel()
Get theSchemaModel
configured for this instance. -
Uses of SchemaModel in io.permazen.cli.config
-
Uses of SchemaModel in io.permazen.core
Modifier and TypeMethodDescriptionstatic SchemaModel
Layout.decodeSchema
(ByteReader reader) Decode schema XML from a schema table entry.Schema.getSchemaModel()
Get the originalSchemaModel
on which this instance is based as it is recorded in the database.Schema.getSchemaModel
(boolean withStorageIds) Get theSchemaModel
on which this instance is based, optionally including explicit storage ID assignments.TransactionConfig.getSchemaModel()
Get the schema model to use.Modifier and TypeMethodDescriptionboolean
Transaction.addSchema
(SchemaModel schemaModel) Manually record the given non-empty schema in the database.Database.createTransaction
(SchemaModel schemaModel) Create a newTransaction
on this database using the givenSchemaModel
and the defaults for all otherTransactionConfig
items.static void
Layout.encodeSchema
(ByteWriter writer, SchemaModel schemaModel) Encode schema XML for a schema table entry.TransactionConfig.Builder.schemaModel
(SchemaModel schemaModel) Configure the schema to use.SchemaBundle.withSchemaAdded
(int schemaIndex, SchemaModel schemaModel) Build anSchemaBundle.Encoded
instance with the specified schema added. -
Uses of SchemaModel in io.permazen.core.util
Modifier and TypeMethodDescriptionFunction<? super Transaction,
? extends Stream<? extends SchemaModel>> XMLObjectSerializer.OutputOptions.schemaGenerator()
Get the function that streams theSchemaModel
s to include in the output.Modifier and TypeMethodDescriptionXMLObjectSerializer.OutputOptions.Builder.schemaGenerator
(Function<? super Transaction, ? extends Stream<? extends SchemaModel>> schemaGenerator) Configure a custom function that streams theSchemaModel
s to include in the output. -
Uses of SchemaModel in io.permazen.jsck
Modifier and TypeMethodDescriptionJsckConfig.getSchemaOverrides()
Configure schemas to forcibly apply into the schema table.Modifier and TypeMethodDescriptionvoid
JsckConfig.setSchemaOverrides
(Map<Integer, SchemaModel> schemaOverrides) -
Uses of SchemaModel in io.permazen.schema
Modifier and TypeMethodDescriptionSchemaModel.clone()
Deep-clone this instance.static SchemaModel
SchemaModel.fromXML
(InputStream input) Deserialize an instance from the given XML input.