Package com.illumon.iris.importers.merge
Enum Class SyncMode
- All Implemented Interfaces:
Serializable
,Comparable<SyncMode>
,java.lang.constant.Constable
Flags for controlling column file synchronization behavior.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionColumn files are synchronized to the destination file system immediately when writing finishes, but the writing thread is free to accept new jobs.Column files are synchronized to the destination file system when all writing finishes.Column files are synchronized to the destination file system immediately when writing finishes, blocking the thread that wrote them until complete. -
Method Summary
Modifier and TypeMethodDescriptionstatic SyncMode
abstract SyncOperator
makeSyncOperator
(String name, int numColumns, int numPartitions) static SyncMode
Returns the enum constant of this class with the specified name.static SyncMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
Column files are synchronized to the destination file system when all writing finishes.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
lookup
-
makeSyncOperator
public abstract SyncOperator makeSyncOperator(@NotNull String name, int numColumns, int numPartitions)
-