public static class ExportConfiguration.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
ExportConfiguration.Builder |
addOperationEventListener(OperationEventListener listener)
Adds one
OperationEventListener to the operation configuration. |
ExportConfiguration |
build()
Builds the
ExportConfiguration with the given event listeners and type. |
ExportConfiguration.Builder |
removeGemFireEntries(boolean removeEntries)
Sets whether all entries in Gemfire that are exported into Greenplum get deleted after the export is completed.
|
ExportConfiguration.Builder |
setType(ExportType type)
Sets a export type (behavior) defined by
ExportType enum. |
public ExportConfiguration.Builder addOperationEventListener(OperationEventListener listener)
OperationEventListener to the operation configuration.
To add multiple operation event listeners, call this method multiple times.listener - the OperationEventListener to handle operation level eventsExportConfiguration.Builder with an added listenerpublic ExportConfiguration build()
ExportConfiguration with the given event listeners and type.ExportConfiguration with the given event listeners and typepublic ExportConfiguration.Builder removeGemFireEntries(boolean removeEntries)
removeEntries - boolean value to whether delete Gemfire entriesExportConfiguration.Builderpublic ExportConfiguration.Builder setType(ExportType type)
ExportType enum.
See ExportType for what behaviors are available.
Default to ExportType.UPSERTtype - the ExportType of export operationExportConfiguration.Builder with updated ExportTypeExportTypeCopyright © 2014–2023 Pivotal Software, Inc.. All rights reserved.