Enum CrossOperatorBase.CrossHint
- java.lang.Object
-
- java.lang.Enum<CrossOperatorBase.CrossHint>
-
- org.apache.flink.api.common.operators.base.CrossOperatorBase.CrossHint
-
- All Implemented Interfaces:
Serializable,Comparable<CrossOperatorBase.CrossHint>
- Enclosing class:
- CrossOperatorBase<IN1,IN2,OUT,FT extends CrossFunction<IN1,IN2,OUT>>
@Public public static enum CrossOperatorBase.CrossHint extends Enum<CrossOperatorBase.CrossHint>
The cross hint tells the system which sizes to expect from the data sets
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIRST_IS_SMALLOPTIMIZER_CHOOSESSECOND_IS_SMALL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CrossOperatorBase.CrossHintvalueOf(String name)Returns the enum constant of this type with the specified name.static CrossOperatorBase.CrossHint[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPTIMIZER_CHOOSES
public static final CrossOperatorBase.CrossHint OPTIMIZER_CHOOSES
-
FIRST_IS_SMALL
public static final CrossOperatorBase.CrossHint FIRST_IS_SMALL
-
SECOND_IS_SMALL
public static final CrossOperatorBase.CrossHint SECOND_IS_SMALL
-
-
Method Detail
-
values
public static CrossOperatorBase.CrossHint[] 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 (CrossOperatorBase.CrossHint c : CrossOperatorBase.CrossHint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CrossOperatorBase.CrossHint 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 nameNullPointerException- if the argument is null
-
-