java.lang.Object
io.ebeanservice.docstore.api.support.DocStructure
Document structure for mapping to document store.
-
Constructor Summary
ConstructorsConstructorDescriptionDocStructure(PathProperties pathProps) Create given an initial deployment doc mapping. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNested(String path, PathProperties embeddedDoc) Add an embedded property with it's document structure.voidaddProperty(String name) Add a property at the root level.doc()Return the document structure.Return the document structure for an embedded path.embeddedManyRoot(String path) <T> voidprepareMany(io.ebeaninternal.server.deploy.BeanDescriptor<T> desc) For 'many' nested properties we need an additional root based graph to fetch and update.
-
Constructor Details
-
DocStructure
Create given an initial deployment doc mapping.
-
-
Method Details
-
addProperty
Add a property at the root level. -
addNested
Add an embedded property with it's document structure. -
doc
Return the document structure. -
embedded
Return the document structure for an embedded path. -
embeddedManyRoot
-
prepareMany
For 'many' nested properties we need an additional root based graph to fetch and update.
-