Uses of Class
io.permazen.schema.SchemaModel
Packages that use 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
Methods in io.permazen that return SchemaModelModifier 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
Methods in io.permazen.cli that return SchemaModelModifier and TypeMethodDescriptionSession.getSchemaModel()
Get theSchemaModel
configured for this instance.Methods in io.permazen.cli with parameters of type SchemaModel -
Uses of SchemaModel in io.permazen.cli.config
Fields in io.permazen.cli.config declared as SchemaModel -
Uses of SchemaModel in io.permazen.core
Methods in io.permazen.core that return SchemaModelModifier and TypeMethodDescriptionstatic SchemaModel
Layout.decodeSchema
(ByteData schemaData) 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.Methods in io.permazen.core with parameters of type SchemaModelModifier 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
(ByteData.Writer 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
Methods in io.permazen.core.util that return types with arguments of type SchemaModelModifier and TypeMethodDescriptionFunction<? super Transaction,
? extends Stream<? extends SchemaModel>> XMLObjectSerializer.OutputOptions.schemaGenerator()
Get the function that streams theSchemaModel
s to include in the output.Method parameters in io.permazen.core.util with type arguments of type SchemaModelModifier 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
Methods in io.permazen.jsck that return types with arguments of type SchemaModelModifier and TypeMethodDescriptionJsckConfig.getSchemaOverrides()
Configure schemas to forcibly apply into the schema table.Method parameters in io.permazen.jsck with type arguments of type SchemaModelModifier and TypeMethodDescriptionvoid
JsckConfig.setSchemaOverrides
(Map<Integer, SchemaModel> schemaOverrides) -
Uses of SchemaModel in io.permazen.schema
Methods in io.permazen.schema that return SchemaModelModifier and TypeMethodDescriptionSchemaModel.clone()
Deep-clone this instance.static SchemaModel
SchemaModel.fromXML
(InputStream input) Deserialize an instance from the given XML input.Methods in io.permazen.schema with parameters of type SchemaModel