Interface CloneConfiguration.Builder
- Enclosing interface:
- CloneConfiguration
public static interface CloneConfiguration.Builder
A CloneConfiguration builder
- Since:
- 1.10 and 2.1
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the clone configurationsetFlush
(boolean flush) Determines if memory is flushed in the source table before cloning.setKeepOffline
(boolean keepOffline) The new table is normally brought online after the cloning process.setPropertiesToExclude
(Set<String> propertiesToExclude) The source table properties are copied, this allows reverting to system defaults for some of those properties.setPropertiesToSet
(Map<String, String> propertiesToSet) The source table properties are copied.
-
Method Details
-
setFlush
Determines if memory is flushed in the source table before cloning.- Parameters:
flush
- true if memory is flushed in the source table before cloning.
-
setPropertiesToSet
The source table properties are copied. This allows overriding of some of those properties.- Parameters:
propertiesToSet
- The source table properties to override.
-
setPropertiesToExclude
The source table properties are copied, this allows reverting to system defaults for some of those properties.- Parameters:
propertiesToExclude
- The properties that are to be reverted to system defaults.
-
setKeepOffline
The new table is normally brought online after the cloning process. This allows leaving the new table offline- Parameters:
keepOffline
- true if the new table is to be kept offline after cloning.
-
build
CloneConfiguration build()Build the clone configuration- Returns:
- the built immutable clone configuration
-