Enum SparkPCollectionView.Type
- java.lang.Object
-
- java.lang.Enum<SparkPCollectionView.Type>
-
- org.apache.beam.runners.spark.translation.SparkPCollectionView.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SparkPCollectionView.Type>
- Enclosing class:
- SparkPCollectionView
public static enum SparkPCollectionView.Type extends java.lang.Enum<SparkPCollectionView.Type>
Type of side input.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SparkPCollectionView.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SparkPCollectionView.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATIC
public static final SparkPCollectionView.Type STATIC
for fixed inputs.
-
STREAMING
public static final SparkPCollectionView.Type STREAMING
for dynamically updated inputs.
-
-
Method Detail
-
values
public static SparkPCollectionView.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 (SparkPCollectionView.Type c : SparkPCollectionView.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 SparkPCollectionView.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
-
-