Enum SparkCombineFn.WindowedAccumulator.Type
- java.lang.Object
-
- java.lang.Enum<SparkCombineFn.WindowedAccumulator.Type>
-
- org.apache.beam.runners.spark.translation.SparkCombineFn.WindowedAccumulator.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SparkCombineFn.WindowedAccumulator.Type>
- Enclosing interface:
- SparkCombineFn.WindowedAccumulator<InputT,ValueT,AccumT,ImplT extends SparkCombineFn.WindowedAccumulator<InputT,ValueT,AccumT,ImplT>>
public static enum SparkCombineFn.WindowedAccumulator.Type extends java.lang.Enum<SparkCombineFn.WindowedAccumulator.Type>
Type of the accumulator. The type depends (mostly) onWindowingStrategy, and more specialized versions enable more optimizations.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPLODE_WINDOWSMERGINGNON_MERGINGSINGLE_WINDOW
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SparkCombineFn.WindowedAccumulator.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SparkCombineFn.WindowedAccumulator.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MERGING
public static final SparkCombineFn.WindowedAccumulator.Type MERGING
-
NON_MERGING
public static final SparkCombineFn.WindowedAccumulator.Type NON_MERGING
-
EXPLODE_WINDOWS
public static final SparkCombineFn.WindowedAccumulator.Type EXPLODE_WINDOWS
-
SINGLE_WINDOW
public static final SparkCombineFn.WindowedAccumulator.Type SINGLE_WINDOW
-
-
Method Detail
-
values
public static SparkCombineFn.WindowedAccumulator.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SparkCombineFn.WindowedAccumulator.Type c : SparkCombineFn.WindowedAccumulator.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SparkCombineFn.WindowedAccumulator.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-