Uses of Class
cloud.quinimbus.persistence.api.schema.SchemaBuilder
-
Uses of SchemaBuilder in cloud.quinimbus.persistence.api.schema
Modifier and TypeMethodDescriptionSchemaBuilder.addEntityTypes
(Iterable<? extends Map.Entry<? extends String, ? extends EntityType>> i) Add to the internally allocatedHashMap
forentityTypes
SchemaBuilder.addEntityTypes
(String key, EntityType value) Add to the internally allocatedHashMap
forentityTypes
SchemaBuilder.addEntityTypes
(Stream<? extends Map.Entry<? extends String, ? extends EntityType>> i) Add to the internally allocatedHashMap
forentityTypes
static SchemaBuilder
SchemaBuilder.builder()
Return a new builder with all fields set to default Java valuesstatic SchemaBuilder
Return a new builder with all fields set to the values taken from the given record instanceSchemaBuilder.entityTypes
(Map<? extends String, ? extends EntityType> entityTypes) Re-create the internally allocatedMap<String, EntityType>
forentityTypes
by copying the argumentSet a new value for theid
record component in the builderSet a new value for theversion
record component in the builderdefault SchemaBuilder
SchemaBuilder.With.with()
Return a new record builder using the current valuesModifier and TypeMethodDescriptiondefault Schema
SchemaBuilder.With.with
(Consumer<SchemaBuilder> consumer) Return a new record built from the builder passed to the given consumer