public class BulkExportToJdbc
extends java.lang.Object
BulkExportToJdbc shows how simple it is to use Data Movement SDK to move
massive data sets from a source MarkLogic Server to a JDBC target server.
In this example all employees are exported using a query matching all docs
in directory /employees/. Using the
[Shortcut Method](https://docs.marklogic.com/javadoc/client/overview-summary.html#ShortcutMethods)
`getContentAs` and the Employee POJO class (pre-registered with the handle
registry by DatabaseClientSingleton), we can easily serialize each document
to an Employee object. From there it's straightforward to use Spring's
JdbcTemplate to write the employees, their salaries, and their titles via
JDBC. Of course, Spring's JdbcTemplate is not required--you could choose
your favorite JDBC libraries to use with Data Movement SDK. And of course
you don't need to deserialize to pojos--you could use any of the Java Client
API handles to deserialize the matching documents.