Package | Description |
---|---|
com.marklogic.client.example.cookbook.datamovement |
Class and Description |
---|
BulkLoadFromJdbcWithSimpleJoins |
Employee |
Employee.Gender |
Employee.Salary |
Employee.Title |
JobInformationRecorder |
OpticExportListener
Takes in a Function which takes QueryBatch as argument and converts it into a
Plan and then iterates the row set returned by the constructed Plan and sends
each RowRecord to any listeners registered with
onRowRecordReady for further processing or writing to any target supported
by Java
For example:
Function<QueryBatch, PlanBuilder.Plan> fn = batch -> {
PlanBuilder.Plan plan = convertToOpticPlan(batch);
return plan;
}
where "convertToOpticPlan" is your custom code which converts the QueryBatch
into Optic plan from which records can be retrieved. |
OpticExportToWriterListener
An extension of OpticExportListener which facilitates writing all row records
from the constructed Plan to a single Writer output stream.
|
OpticExportToWriterListener.OpticOutputListener
The listener interface required by onGenerateOutput.
|
Copyright © 2013-2018 MarkLogic Corporation.