All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.marklogic.client.impl.JSONDocumentImpl Maven / Gradle / Ivy

The newest version!
/*
 * Copyright © 2024 MarkLogic Corporation. All Rights Reserved.
 */
package com.marklogic.client.impl;

import com.marklogic.client.io.Format;
import com.marklogic.client.document.DocumentPatchBuilder;
import com.marklogic.client.document.JSONDocumentManager;
import com.marklogic.client.util.RequestParameters;
import com.marklogic.client.io.marker.JSONReadHandle;
import com.marklogic.client.io.marker.JSONWriteHandle;

public class JSONDocumentImpl
  extends DocumentManagerImpl
  implements JSONDocumentManager
{
  JSONDocumentImpl(RESTServices services) {
    super(services,Format.JSON);
  }

  @Override
  public DocumentPatchBuilder newPatchBuilder() {
    return new DocumentPatchBuilderImpl(Format.JSON);
  }

  @Override
  protected RequestParameters getWriteParams() {
    RequestParameters params = new RequestParameters();

    return params;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy