Interface ImportConfiguration.Builder
-
- All Known Implementing Classes:
ImportConfigurationImpl
- Enclosing interface:
- ImportConfiguration
public static interface ImportConfiguration.Builder
A ImportConfiguration builder- Since:
- 2.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportConfiguration
build()
Build the import table configurationImportConfiguration.Builder
setKeepMappings(boolean keepMappings)
During the table import transaction, an intermediateConstants.IMPORT_MAPPINGS_FILE
file is created and usually removed after the import process is completed.ImportConfiguration.Builder
setKeepOffline(boolean keepOffline)
The new table is normally brought online after the import process.
-
-
-
Method Detail
-
setKeepOffline
ImportConfiguration.Builder setKeepOffline(boolean keepOffline)
The new table is normally brought online after the import process. This allows leaving the new table offline- Parameters:
keepOffline
- true if the new table is to be kept offline after importing.
-
setKeepMappings
ImportConfiguration.Builder setKeepMappings(boolean keepMappings)
During the table import transaction, an intermediateConstants.IMPORT_MAPPINGS_FILE
file is created and usually removed after the import process is completed. Setting this option to true will keep the file after the import is finished. Typically, when this is set to true,setKeepOffline(boolean)
is also set to true, allowing for validation/debugging before bringing the new table online.- Parameters:
keepMappings
- true if theConstants.IMPORT_MAPPINGS_FILE
is to be kept after importing.
-
build
ImportConfiguration build()
Build the import table configuration- Returns:
- the built immutable import table configuration
-
-