Interface CloneConfiguration
-
- All Known Implementing Classes:
CloneConfigurationImpl
public interface CloneConfigurationA configuration object that can be used with the table clone command in theTableOperations.- Since:
- 1.10 and 2.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCloneConfiguration.BuilderA CloneConfiguration builder
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static CloneConfiguration.Builderbuilder()Set<String>getPropertiesToExclude()The source table properties are copied, this allows reverting to system defaults for some of those properties.Map<String,String>getPropertiesToSet()The source table properties are copied.booleanisFlush()Determines if memory is flushed in the source table before cloning.booleanisKeepOffline()The new table is normally brought online after the cloning process.
-
-
-
Method Detail
-
isFlush
boolean isFlush()
Determines if memory is flushed in the source table before cloning.- Returns:
- true if memory is flushed in the source table before cloning.
-
getPropertiesToSet
Map<String,String> getPropertiesToSet()
The source table properties are copied. This allows overriding of some of those properties.- Returns:
- The source table properties to override.
-
getPropertiesToExclude
Set<String> getPropertiesToExclude()
The source table properties are copied, this allows reverting to system defaults for some of those properties.- Returns:
- The properties that are to be reverted to system defaults.
-
isKeepOffline
boolean isKeepOffline()
The new table is normally brought online after the cloning process. This allows leaving the new table offline- Returns:
- true if the new table is to be kept offline after cloning.
-
builder
static CloneConfiguration.Builder builder()
- Returns:
- a
CloneConfigurationbuilder
-
-