build()canonicalizeJson (boolean canonicalizeJson)hashKeyName (String keyName)jsonExclusions (String... jsonPointers)onDocumentsSkipped (Consumer<DocumentWriteOperation[]> skippedDocumentsConsumer)timestampKeyName (String keyName)xmlExclusions (String... xpathExpressions)xmlNamespaces (Map<String, String> namespaces)keyName - the name of the MarkLogic metadata key
that will hold the hash value; defaults to
"incrementalWriteHash".keyName - the name of the MarkLogic metadata key
that will hold the timestamp value; defaults to null, which means
no timestamp will be stored.canonicalizeJson - whether to canonicalize JSON
content before hashing; defaults to true. Delegates to
https://github.com/erdtman/java-json-canonicalization for
canonicalization.skippedDocumentsConsumer - a consumer that will be
called with any documents in a batch that were skipped because
their content had not changed.jsonPointers - JSON Pointer expressions (RFC 6901)
identifying JSON properties to exclude from hash calculation. For
example, "/metadata/timestamp" or "/user/lastModified".xpathExpressions - XPath expressions identifying
XML elements to exclude from hash calculation. For example,
"//timestamp" or "//metadata/lastModified".namespaces - a map of namespace prefixes to URIs
for use in XPath exclusion expressions. For example, Map.of("ns",
"http://example.com/ns") allows XPath like "//ns:timestamp".schemaName - the schema name of the TDE viewviewName - the view name of the TDE viewCopyright (c) 2010-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.