## Uses of Interface
com.holonplatform.datastore.mongo.core.document.DocumentConverter

- Packages that use DocumentConverter
  Package | Description
  --- | ---
  com.holonplatform.datastore.mongo.core.document |
  com.holonplatform.datastore.mongo.core.expression |

- - ### Uses of DocumentConverter in com.holonplatform.datastore.mongo.core.document

    Methods in com.holonplatform.datastore.mongo.core.document that return DocumentConverter
    Modifier and Type | Method and Description
    --- | ---
    `static <T> DocumentConverter<T>` | DocumentConverter.`bean(com.holonplatform.core.beans.BeanPropertySet<T> beanPropertySet)` Create a new `DocumentConverter` to convert documents into Java Bean instances.
    `static <T> DocumentConverter<T>` | DocumentConverter.`bean(Class<T> beanClass)` Create a new `DocumentConverter` to convert documents into Java Bean instances.
    `static <R> DocumentConverter<R>` | DocumentConverter.`create(Class<R> type, BiFunction<MongoResolutionContext<?>,org.bson.Document,R> converter)` Create a new `DocumentConverter`.
    `static <T> DocumentConverter<T>` | DocumentConverter.`expression(com.holonplatform.core.TypedExpression<T> expression, String selection)` Create a new `DocumentConverter` to convert a document field using given expression.
    `static DocumentConverter<org.bson.Document>` | DocumentConverter.`identity()` Get a `DocumentConverter` which simply returns the document instance, without performing any conversion operation.
    `static <P extends com.holonplatform.core.property.Property> DocumentConverter<com.holonplatform.core.property.PropertyBox>` | DocumentConverter.`propertyBox(Iterable<P> properties)` Create a new `DocumentConverter` to convert documents into `PropertyBox` instances using given property set.
    `static <P extends com.holonplatform.core.property.Property> DocumentConverter<com.holonplatform.core.property.PropertyBox>` | DocumentConverter.`propertyBox(P... properties)` Create a new `DocumentConverter` to convert documents into `PropertyBox` instances using given property set.
    `static <T> DocumentConverter<T>` | DocumentConverter.`value(Class<T> valueType, String selection)` Create a new `DocumentConverter` to return a document field without performing any conversion.

  - ### Uses of DocumentConverter in com.holonplatform.datastore.mongo.core.expression

    Methods in com.holonplatform.datastore.mongo.core.expression that return types with arguments of type DocumentConverter
    Modifier and Type | Method and Description
    --- | ---
    `Optional<DocumentConverter<R>>` | BsonProjection.`getConverter()` Get the projection `DocumentConverter`.

    Methods in com.holonplatform.datastore.mongo.core.expression with parameters of type DocumentConverter
    Modifier and Type | Method and Description
    --- | ---
    `BsonProjection.Builder<R>` | BsonProjection.Builder.`converter(DocumentConverter<R> converter)` Set the document results converter.

Copyright © 2019 The Holon Platform. All rights reserved.