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 Details

    • 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.
    • reconstructDocument

      public static byte[] reconstructDocument(Map<String,byte[]> pathToValue)