Java client for the MarkLogic enterprise NoSQL database
This minor release coincides with the release of MarkLogic Server 11.2.0 and provides the following enhancements:
OAuthContext
class or the new marklogic.client.oauth.token
property when constructing a DatabaseClient
via properties.patchBuilder
method available on com.marklogic.client.expression.PlanBuilder
. Requires MarkLogic 11.2.0 or higher.onError
method. Requires MarkLogic 11.2.0 or higher.com.marklogic.client.document.GenericDocumentManager
interface now support temporal operations.debug
and trace
levels instead of info
.awaitCompletion
method waits for the correct duration.This minor release addresses the following items:
DatabaseClient
and configuring two-way SSL, a separate trust store can be configured via the new properties marklogic.client.truststore.path
, marklogic.client.truststore.password
, marklogic.client.truststore.type
, and marklogic.client.truststore.algorithm
. These can be passed in via the newClient(Function<String, Object> propertySource) method or programmatically set with new methods in DatabaseClientBuilder.This patch release addresses the following items:
DocumentManager.search
now works when METADATAVALUES
has been set as a category on the DocumentManager
.DocumentManager
that support searching/reading on a server timestamp have been exposed; they have long been working in the implementation class but were mistakenly never exposed in the interface.This minor release addresses the following items:
marklogic.client.ssl.keystore.path
, marklogic.client.ssl.keystore.password
, marklogic.client.ssl.keystore.type
, and marklogic.client.ssl.keystore.algorithm
. These can be passed in via the newClient(Function<String, Object> propertySource)
method or programmatically set with new methods in DatabaseClientBuilder
.joinDocAndUri
is now supported; cts.point
and cts.polygon
now accept String arguments; and op.geo.geohashSubhashes
can be called with a single column argument.This minor release addresses the following items:
ContentWrongVersionException
or ContentNoVersionException
instead of the too-generic FailedRequestException
(both new exceptions extend FailedRequestException
though).DocumentMetadataHandle.DocumentPermissions
now has an addFromDelimitedString
method for the common use case of defining permissions via a string of the form "role1,capability1,role2,capability2,etc".com.marklogic.client.extra.okhttpclient.RemoveAcceptEncodingConfigurator
class or by setting the marklogic.client.disabledGzippedResponses
property to true
when constructing a DatabaseClient
via a set of properties.DatabaseClientFactory.addConfigurator
can now be called multiple times. Configurators can be removed via the new DatabaseClientFactory.removeConfigurators
method.com.fasterxml.jackson
dependencies were bumped from 2.14.3 to 2.15.2.This patch release addresses the following issues:
CertificateAuthContext
via DatabaseClientBuilder
no longer requires a certificate file and password to be provided. A certificate can be provided via an SSLContext
instead.This patch release addresses the following issues:
resultRows
in RowManager
now honors point-in-time query timestampThe 6.2.0 release of the MarkLogic Java Client includes the following enhancements and fixes:
StructuredQueryDefinition
can now be serialized via a javax.xml.stream.XMLStreamWriter
.RowManager
now supports submitting GraphQL queries via the new graphql
and graphqlAs
methods.columnInfo
method in RowManager
now supports any type of plan.ExportListener
now accepts a Consumer<DocumentPage>
so that users can process a batch of documents instead of one document at a time.QueryBatcher
can now be adjusted at runtime.The 6.1.0 release of the MarkLogic Java Client includes the following enhancements and fixes:
DatabaseClient
, enabling scenarios such as a reverse proxy running in front of MarkLogic.DatabaseClientFactory
for constructing a DatabaseClient
based on a standard set of property names. This is intended to simplify scenarios where an application can collect a variety of inputs from a user for constructing a DatabaseClient
. The application can now use this factory method to determine how to construct the client.DatabaseClientBuilder
that provides a fluent builder-style approach to constructing a DatabaseClient
.QueryBatcher
would fail to stop when an error occurred while retrieving URIs.fromDocDescriptors
method in PlanBuilder
might fail due to a class-not-found error.This minor release does not coincide with a release of the MarkLogic server. It continues to support all released versions of MarkLogic 11 and will work with MarkLogic 10 with the exception of features it supports that do not exist in MarkLogic 10, such as the Optic Update support introduced in the 6.0.0 release.
The 6.0.0 release of the MarkLogic Java Client coincides with the release of MarkLogic 11 and includes the following enhancements and fixes: