Interface CloneConfiguration
-
- All Known Implementing Classes:
CloneConfigurationImpl
public interface CloneConfiguration
A 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 interface
CloneConfiguration.Builder
A CloneConfiguration builder
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static CloneConfiguration.Builder
builder()
static CloneConfiguration
empty()
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.boolean
isFlush()
Determines if memory is flushed in the source table before cloning.boolean
isKeepOffline()
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
CloneConfiguration
builder
-
empty
static CloneConfiguration empty()
- Returns:
- an empty configuration object with the default settings.
- Since:
- 2.1.0
-
-