public class MoveDataBetweenMarklogicDBs
extends java.lang.Object
This example demonstrates how to move data from
one Marklogic Database to another Marklogic Database. In this
example, we can provide in a Cts query thereby reducing the scope
of documents to be transferred from one database to another. We
used an empty and query and retrieve the entire document set from
the source database. Also, this example shows how to export the
documents with transforms. We filter the order documents when doing
the export (filter in JVM) and for each customer document, we
append all the orders made by that customer with the help of a
transform (in database transform).