Uses of Class
io.permazen.schema.SchemaId
Package
Description
Abstraction layer allowing access to a
Database
using normal Java objects.Core classes for the Permazen Java persistence layer.
Classes associated with
Jsck
, the Permazen key/value database consistency checker.Classes for modeling Permazen
Database
schemas.-
Uses of SchemaId in io.permazen
Modifier and TypeMethodDescriptiondefault SchemaId
PermazenObject.getSchemaId()
Get theSchemaId
that identifies this instance's current schema.PermazenSchemaItem.getSchemaId()
Get the schema ID of this instance.Modifier and TypeMethodDescription<T> NavigableMap<SchemaId,
NavigableSet<T>> PermazenTransaction.querySchemaIndex
(Class<T> type) Get all instances of the given type, grouped according to schema index. -
Uses of SchemaId in io.permazen.core
Modifier and TypeMethodDescriptionSchema.getSchemaId()
Get the schema ID associated with this instance.SchemaItem.getSchemaId()
Get the schema ID associated with this instance.SchemaMismatchException.getSchemaId()
Get the ID of the schema that failed to match.Modifier and TypeMethodDescriptionSchemaBundle.getSchemaIdsByStorageId()
Get all of the storage ID's in this bundle with their correspondingSchemaId
's.SchemaBundle.getSchemasBySchemaId()
Get all of the schemas in this bundle keyed bySchemaId
.Modifier and TypeMethodDescriptionboolean
Create a new object with the given object ID, if it doesn't already exist.Create a new object with a randomly assigned object ID and having the given type and schema.Get theSchema
in this bundle having the given schema ID.int
SchemaBundle.getStorageId
(SchemaId schemaId) Get the storage ID corresponding to the given schema ID.void
SchemaChangeListener.onSchemaChange
(Transaction tx, ObjId id, SchemaId oldVersion, SchemaId newVersion, Map<String, Object> oldFieldValues) Receive notification of an object schema change.boolean
Transaction.removeSchema
(SchemaId schemaId) Manually remove the given schema from the database.SchemaBundle.withSchemaRemoved
(SchemaId schemaId) Build anSchemaBundle.Encoded
instance with the specified schema removed. -
Uses of SchemaId in io.permazen.jsck
Modifier and TypeMethodDescriptionJsckConfig.getStorageIdOverrides()
ConfigureSchemaId
s to forcibly apply into the storage ID table.Modifier and TypeMethodDescriptionvoid
JsckConfig.setStorageIdOverrides
(Map<Integer, SchemaId> storageIdOverrides) -
Uses of SchemaId in io.permazen.schema
Modifier and TypeMethodDescriptionstatic SchemaId
SchemaObjectType.schemaIdForName
(String name) Get theSchemaId
for an object type with the given name.