Uses of Record Class
cloud.quinimbus.persistence.api.schema.Schema
Package
Description
-
Uses of Schema in cloud.quinimbus.persistence.api
Modifier and TypeMethodDescriptionPersistenceContext.importRecordSchema
(Class<? extends Record>... recordClasses) PersistenceContext.importSchema
(PersistenceSchemaProvider provider) PersistenceContext.importSchema
(PersistenceSchemaProvider provider, cloud.quinimbus.config.api.ConfigNode configNode) PersistenceContext.importSchemaFromSingleJson
(Reader reader) -
Uses of Schema in cloud.quinimbus.persistence.api.schema
Modifier and TypeMethodDescriptionSchemaBuilder.build()
Return a new record instance with all fields set to the current values in this builderPersistenceSchemaProvider.loadSchema
(cloud.quinimbus.config.api.ConfigNode node) PersistenceSchemaProvider.loadSchema
(Map<String, Object> params) static Schema
Static constructor/builder.default Schema
SchemaBuilder.With.with
(Consumer<SchemaBuilder> consumer) Return a new record built from the builder passed to the given consumerdefault Schema
SchemaBuilder.With.withEntityTypes
(Map<String, EntityType> entityTypes) Return a new instance ofSchema
with a new value forentityTypes
default Schema
Return a new instance ofSchema
with a new value forid
default Schema
SchemaBuilder.With.withVersion
(Long version) Return a new instance ofSchema
with a new value forversion
Modifier and TypeMethodDescriptionstatic SchemaBuilder
Return a new builder with all fields set to the values taken from the given record instancestatic SchemaBuilder.With
Return a "with"er for an existing record instanceReturn a stream of the record components as map entries keyed with the component name and the value as the component value -
Uses of Schema in cloud.quinimbus.persistence.storage.mongo
ModifierConstructorDescriptionMongoSchemaStorage
(com.mongodb.client.MongoClient client, Schema schema, PersistenceContext context)