Class DocStructure

java.lang.Object
io.ebeanservice.docstore.api.support.DocStructure

public final class DocStructure extends Object
Document structure for mapping to document store.
  • Constructor Details

  • Method Details

    • addProperty

      public void addProperty(String name)
      Add a property at the root level.
    • addNested

      public void addNested(String path, PathProperties embeddedDoc)
      Add an embedded property with it's document structure.
    • doc

      public PathProperties doc()
      Return the document structure.
    • embedded

      public FetchPath embedded(String path)
      Return the document structure for an embedded path.
    • embeddedManyRoot

    • prepareMany

      public <T> void prepareMany(io.ebeaninternal.server.deploy.BeanDescriptor<T> desc)
      For 'many' nested properties we need an additional root based graph to fetch and update.