Enum SyncMode

java.lang.Object
java.lang.Enum<SyncMode>
com.illumon.iris.importers.merge.SyncMode
All Implemented Interfaces:
Serializable, Comparable<SyncMode>, java.lang.constant.Constable

public enum SyncMode
extends Enum<SyncMode>
Flags for controlling column file synchronization behavior.
  • Enum Constant Details

    • IMMEDIATE

      public static final SyncMode IMMEDIATE
      Column files are synchronized to the destination file system immediately when writing finishes, blocking the thread that wrote them until complete. This is the default, unless .
    • CONCURRENT

      public static final SyncMode CONCURRENT
      Column files are synchronized to the destination file system immediately when writing finishes, but the writing thread is free to accept new jobs. Synchronization jobs are waited for when all writing finishes.
    • FINAL

      public static final SyncMode FINAL
      Column files are synchronized to the destination file system when all writing finishes.
  • Method Details

    • values

      public static SyncMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SyncMode valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • lookup

      @Nullable public static SyncMode lookup​(@NotNull String exceptionPrefix, @Nullable String name)
    • makeSyncOperator

      public abstract SyncOperator makeSyncOperator​(@NotNull String name, int numColumns, int numPartitions)