Package org.apache.heron.streamlet
Enum JoinType
- java.lang.Object
-
- java.lang.Enum<JoinType>
-
- org.apache.heron.streamlet.JoinType
-
- All Implemented Interfaces:
Serializable
,Comparable<JoinType>
public enum JoinType extends Enum<JoinType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INNER
Return a new KVStreamlet by inner joining 'this streamlet with ‘other’ streamlet.OUTER
Return a new KVStreamlet by outer joining ‘this’ streamlet with ‘other’ streamlet.OUTER_LEFT
Return a new KVStreamlet by left joining ‘this’ streamlet with ‘other’ streamlet.OUTER_RIGHT
Return a new KVStreamlet by right joining ‘this’ streamlet with ‘other’ streamlet.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JoinType
valueOf(String name)
Returns the enum constant of this type with the specified name.static JoinType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INNER
public static final JoinType INNER
Return a new KVStreamlet by inner joining 'this streamlet with ‘other’ streamlet. The join is done over elements accumulated over a time window defined by TimeWindow.
-
OUTER_LEFT
public static final JoinType OUTER_LEFT
Return a new KVStreamlet by left joining ‘this’ streamlet with ‘other’ streamlet. The join is done over elements accumulated over a time window defined by TimeWindow. Because its a left join, it is guaranteed that all elements of this streamlet will show up in the resulting joined streamlet.
-
OUTER_RIGHT
public static final JoinType OUTER_RIGHT
Return a new KVStreamlet by right joining ‘this’ streamlet with ‘other’ streamlet. The join is done over elements accumulated over a time window defined by TimeWindow. Because its a right join, it is guaranteed that all elements of the other streamlet will show up in the resulting joined streamlet.
-
OUTER
public static final JoinType OUTER
Return a new KVStreamlet by outer joining ‘this’ streamlet with ‘other’ streamlet. The join is done over elements accumulated over a time window defined by TimeWindow. Because its a outer join, it is guaranteed that all elements of both this streamlet and 'other' streamlet will show up in the resulting joined streamlet.
-
-
Method Detail
-
values
public static JoinType[] 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 (JoinType c : JoinType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JoinType 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
-
-