Class ProjectionsApplier
java.lang.Object
com.couchbase.client.core.projections.ProjectionsApplier
public class ProjectionsApplier extends Object
Helper functions to aid with parsing get-with-projections calls.
Largely a port of Scala's ProjectionsApplier.
- Since:
- 2.1.2
-
Method Summary
Modifier and Type Method Description static byte[]
reconstructDocument(SubdocGetResponse subdocGetResponse)
Returns the bytes of a JSON Object created by projecting the subdoc response fields into the object structure.static byte[]
reconstructDocument(Map<String,byte[]> pathToValue)
-
Method Details
-
reconstructDocument
Returns the bytes of a JSON Object created by projecting the subdoc response fields into the object structure. -
reconstructDocument
-