Interface CloneConfiguration
public interface CloneConfiguration
A configuration object that can be used with the table clone command in the
TableOperations
.- Since:
- 1.10 and 2.1
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A CloneConfiguration builder -
Method Summary
Modifier and TypeMethodDescriptionstatic CloneConfiguration.Builder
builder()
static CloneConfiguration
empty()
The source table properties are copied, this allows reverting to system defaults for some of those properties.The source table properties are copied.boolean
isFlush()
Determines if memory is flushed in the source table before cloning.boolean
The new table is normally brought online after the cloning process.
-
Method Details
-
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
The source table properties are copied. This allows overriding of some of those properties.- Returns:
- The source table properties to override.
-
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
- Returns:
- a
CloneConfiguration
builder
-
empty
- Returns:
- an empty configuration object with the default settings.
- Since:
- 2.1.0
-