Interface CloneConfiguration.Builder
-
- All Known Implementing Classes:
CloneConfigurationImpl
- Enclosing interface:
- CloneConfiguration
public static interface CloneConfiguration.BuilderA CloneConfiguration builder- Since:
- 1.10 and 2.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CloneConfigurationbuild()Build the clone configurationCloneConfiguration.BuildersetFlush(boolean flush)Determines if memory is flushed in the source table before cloning.CloneConfiguration.BuildersetKeepOffline(boolean keepOffline)The new table is normally brought online after the cloning process.CloneConfiguration.BuildersetPropertiesToExclude(Set<String> propertiesToExclude)The source table properties are copied, this allows reverting to system defaults for some of those properties.CloneConfiguration.BuildersetPropertiesToSet(Map<String,String> propertiesToSet)The source table properties are copied.
-
-
-
Method Detail
-
setFlush
CloneConfiguration.Builder setFlush(boolean flush)
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
CloneConfiguration.Builder setPropertiesToSet(Map<String,String> propertiesToSet)
The source table properties are copied. This allows overriding of some of those properties.- Parameters:
propertiesToSet- The source table properties to override.
-
setPropertiesToExclude
CloneConfiguration.Builder setPropertiesToExclude(Set<String> propertiesToExclude)
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
CloneConfiguration.Builder setKeepOffline(boolean keepOffline)
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
-
-