Uses of Class
io.permazen.schema.SchemaId
Packages that use 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
Methods in io.permazen that return SchemaIdModifier and TypeMethodDescriptiondefault SchemaId
PermazenObject.getSchemaId()
Get theSchemaId
that identifies this instance's current schema.PermazenSchemaItem.getSchemaId()
Get the schema ID of this instance.Methods in io.permazen that return types with arguments of type SchemaIdModifier 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
Methods in io.permazen.core that return SchemaIdModifier 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.Methods in io.permazen.core that return types with arguments of type SchemaIdModifier 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
.Methods in io.permazen.core with parameters of type SchemaIdModifier 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.Constructors in io.permazen.core with parameters of type SchemaId -
Uses of SchemaId in io.permazen.jsck
Methods in io.permazen.jsck that return types with arguments of type SchemaIdModifier and TypeMethodDescriptionJsckConfig.getStorageIdOverrides()
ConfigureSchemaId
s to forcibly apply into the storage ID table.Method parameters in io.permazen.jsck with type arguments of type SchemaIdModifier and TypeMethodDescriptionvoid
JsckConfig.setStorageIdOverrides
(Map<Integer, SchemaId> storageIdOverrides) -
Uses of SchemaId in io.permazen.schema
Methods in io.permazen.schema that return SchemaIdModifier and TypeMethodDescriptionstatic SchemaId
SchemaObjectType.schemaIdForName
(String name) Get theSchemaId
for an object type with the given name.