Interface CloneConfiguration.Builder

Enclosing interface:
CloneConfiguration

public static interface CloneConfiguration.Builder
A CloneConfiguration builder
Since:
1.10 and 2.1
  • Method Details

    • 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

      Build the clone configuration
      Returns:
      the built immutable clone configuration