Package | Description |
---|---|
io.ebean | |
io.ebean.plugin |
Provides a API for plugins.
|
io.ebean.text |
Utility objects for CSV, JSON and XML processing.
|
io.ebean.text.json |
JSON formatting and parsing objects (See JsonContext).
|
io.ebeanservice.docstore.api.mapping |
Mapping for document store integration.
|
io.ebeanservice.docstore.api.support |
Support objects for implementing integration.
|
Modifier and Type | Method and Description |
---|---|
Query<T> |
Query.apply(FetchPath fetchPath)
Apply the path properties replacing the select and fetch clauses.
|
Query<T> |
ExpressionList.apply(FetchPath fetchPath)
Apply the path properties to the query replacing the select and fetch clauses.
|
Modifier and Type | Method and Description |
---|---|
FetchPath |
BeanDocType.getEmbedded(String path)
Return the FetchPath for the embedded document.
|
FetchPath |
BeanDocType.getEmbeddedManyRoot(String path)
For embedded 'many' properties we need a FetchPath relative to the root which is used to
build and replace the embedded list.
|
Modifier and Type | Class and Description |
---|---|
class |
PathProperties
This is a Tree like structure of paths and properties that can be used for
defining which parts of an object graph to render in JSON or XML, and can
also be used to define which parts to select and fetch for an ORM query.
|
Modifier and Type | Method and Description |
---|---|
FetchPath |
JsonWriteOptions.getPathProperties()
Return the properties to include by path.
|
Modifier and Type | Method and Description |
---|---|
static JsonWriteOptions |
JsonWriteOptions.pathProperties(FetchPath pathProperties)
Construct JsonWriteOptions with the given pathProperties.
|
void |
JsonWriteOptions.setPathProperties(FetchPath pathProperties)
Set the Map of properties to include by path.
|
String |
JsonContext.toJson(Object value,
FetchPath fetchPath)
Return the bean or collection as JSON string using FetchPath.
|
void |
JsonContext.toJson(Object value,
com.fasterxml.jackson.core.JsonGenerator generator,
FetchPath fetchPath)
Write the bean or collection to the JsonGenerator using the FetchPath.
|
void |
JsonContext.toJson(Object value,
Writer writer,
FetchPath fetchPath)
Write the bean or collection as json to the writer using the FetchPath.
|
Modifier and Type | Method and Description |
---|---|
FetchPath |
DocumentMapping.getPaths()
Return the document structure as PathProperties.
|
Constructor and Description |
---|
DocumentMapping(String queueId,
String name,
String type,
FetchPath paths,
DocPropertyMapping properties,
int shards,
int replicas) |
Modifier and Type | Method and Description |
---|---|
FetchPath |
DocStoreBeanBaseAdapter.getEmbedded(String path) |
FetchPath |
DocStructure.getEmbedded(String path)
Return the document structure for an embedded path.
|
FetchPath |
DocStoreBeanBaseAdapter.getEmbeddedManyRoot(String path) |
FetchPath |
DocStructure.getEmbeddedManyRoot(String path) |
Copyright © 2019. All rights reserved.