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
All Methods Static Methods Concrete Methods 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 Detail
-
reconstructDocument
public static byte[] reconstructDocument(SubdocGetResponse subdocGetResponse)
Returns the bytes of a JSON Object created by projecting the subdoc response fields into the object structure.
-
-