Builds and saves a simple export-only pipeline for an endpoint: a transaction step wrapping either a query export step or a table uploader step, written to the endpoint's pipeline XML file. Used where an endpoint needs a straightforward export pipeline without hand-editing pipeline step XML. Obtained from IntegrationManager.newPipelineBuilder, configured with either a query export name or a table uploader name plus its field mapping, then written out by build.
Group: Builders
Methods
queryExportName(String queryExportName)
Returns: PipelineBuilder
Names the index query or query table whose rows the pipeline exports. The generated pipeline runs a query export step feeding a CSV output whose column names are read from the named query. Set either this or a table uploader name; if both are set the query export wins.
| Parameter | Description |
|---|---|
queryExportName | the name of the index query or query table to export |
tableUploaderName(String tableUploaderName)
Returns: PipelineBuilder
Names the table uploader the pipeline loads its rows into, for a pipeline that uploads data rather than exporting a query. A field mapping name must also be set. Ignored if a query export name is set.
| Parameter | Description |
|---|---|
tableUploaderName | the name of the table uploader to use for the pipeline |
fieldMappingName(String fieldMappingName)
Returns: PipelineBuilder
Names the field mapping the table uploader applies, which maps the incoming columns onto the target table's columns. Required whenever a table uploader name is set; build fails without it.
| Parameter | Description |
|---|---|
fieldMappingName | the name of the field mapping used by the table uploader |
build()
Returns: void
Builds the pipeline from the configured query export or table uploader, wraps it in a transaction step, and saves it as the endpoint's pipeline XML file.