Class OuterJoinQualifier
java.lang.Object
com.espertech.esper.common.client.soda.OuterJoinQualifier
- All Implemented Interfaces:
Serializable
Qualifies a join by providing the outer join type (full/left/right) and joined-on properties.
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor.OuterJoinQualifier
(com.espertech.esper.common.internal.type.OuterJoinType type, PropertyValueExpression left, PropertyValueExpression right) Ctor.OuterJoinQualifier
(com.espertech.esper.common.internal.type.OuterJoinType type, PropertyValueExpression left, PropertyValueExpression right, ArrayList<PropertyValueExpressionPair> additionalProperties) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionAdd additional properties to the on-clause, which are logical-and to existing propertiesstatic OuterJoinQualifier
create
(String propertyLeft, com.espertech.esper.common.internal.type.OuterJoinType type, String propertyRight) Creates qualifier.Returns optional additional properties in the on-clause of the outer join.getLeft()
Returns property value expression to join on.getRight()
Returns property value expression to join on.com.espertech.esper.common.internal.type.OuterJoinType
getType()
Returns the type of outer join.void
setAdditionalProperties
(List<PropertyValueExpressionPair> additionalProperties) Set join properties.void
setLeft
(Expression left) Sets the property value expression to join on.void
setRight
(Expression right) Sets the property value expression to join on.void
setType
(com.espertech.esper.common.internal.type.OuterJoinType type) Sets the type of outer join.
-
Constructor Details
-
OuterJoinQualifier
public OuterJoinQualifier()Ctor. -
OuterJoinQualifier
public OuterJoinQualifier(com.espertech.esper.common.internal.type.OuterJoinType type, PropertyValueExpression left, PropertyValueExpression right) Ctor.- Parameters:
left
- is a property providing joined-on valuestype
- is the type of outer joinright
- is a property providing joined-on values
-
OuterJoinQualifier
public OuterJoinQualifier(com.espertech.esper.common.internal.type.OuterJoinType type, PropertyValueExpression left, PropertyValueExpression right, ArrayList<PropertyValueExpressionPair> additionalProperties) Ctor.- Parameters:
left
- is a property providing joined-on valuestype
- is the type of outer joinright
- is a property providing joined-on valuesadditionalProperties
- for any pairs of additional on-clause properties
-
-
Method Details
-
create
public static OuterJoinQualifier create(String propertyLeft, com.espertech.esper.common.internal.type.OuterJoinType type, String propertyRight) Creates qualifier.- Parameters:
propertyLeft
- is a property name providing joined-on valuestype
- is the type of outer joinpropertyRight
- is a property name providing joined-on values- Returns:
- qualifier
-
getType
public com.espertech.esper.common.internal.type.OuterJoinType getType()Returns the type of outer join.- Returns:
- outer join type
-
setType
public void setType(com.espertech.esper.common.internal.type.OuterJoinType type) Sets the type of outer join.- Parameters:
type
- is the outer join type
-
setAdditionalProperties
Set join properties.- Parameters:
additionalProperties
- for outer join
-
getLeft
Returns property value expression to join on.- Returns:
- expression providing joined-on values
-
setLeft
Sets the property value expression to join on.- Parameters:
left
- expression providing joined-on values
-
getRight
Returns property value expression to join on.- Returns:
- expression providing joined-on values
-
setRight
Sets the property value expression to join on.- Parameters:
right
- expression providing joined-on values
-
add
Add additional properties to the on-clause, which are logical-and to existing properties- Parameters:
propertyLeft
- property providing joined-on valuepropertyRight
- property providing joined-on value- Returns:
- outer join qualifier
-
getAdditionalProperties
Returns optional additional properties in the on-clause of the outer join.- Returns:
- pairs of properties connected via logical-and in an on-clause
-