Class TypeMetadataOverlay

java.lang.Object
io.quarkus.hibernate.orm.panache.PanacheEntityBase
ai.pipestream.registration.entity.TypeMetadataOverlay

@Entity public class TypeMetadataOverlay extends io.quarkus.hibernate.orm.panache.PanacheEntityBase
One writable metadata overlay: a (scope, graph, type) triple holding the field annotations for that layer. GLOBAL_DRAFT rows use an empty graph_id. The fields column is a JSON envelope (SaveTypeMetadataRequest's fields map) written via protobuf JsonFormat.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Composite key: scope + graph + type.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    JSON envelope of field_path → FieldMetadataEntry.
    The overlay identity.
    Last save time.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an empty entity instance for JPA.
  • Method Summary

    Methods inherited from class io.quarkus.hibernate.orm.panache.PanacheEntityBase

    count, count, count, count, delete, delete, delete, delete, deleteAll, deleteById, find, find, find, find, find, find, findAll, findAll, findById, findById, findByIdOptional, findByIdOptional, findByIds, flush, getEntityManager, getSession, isPersistent, list, list, list, list, list, list, listAll, listAll, persist, persist, persist, persist, persistAndFlush, stream, stream, stream, stream, stream, stream, streamAll, streamAll, update, update, update

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • key

      The overlay identity.
    • fieldsJson

      public String fieldsJson
      JSON envelope of field_path → FieldMetadataEntry.
    • updatedAt

      public Instant updatedAt
      Last save time.
  • Constructor Details

    • TypeMetadataOverlay

      public TypeMetadataOverlay()
      Creates an empty entity instance for JPA.