Class OuterJoinQualifier

java.lang.Object
com.espertech.esper.common.client.soda.OuterJoinQualifier
All Implemented Interfaces:
Serializable

public class OuterJoinQualifier extends Object implements Serializable
Qualifies a join by providing the outer join type (full/left/right) and joined-on properties.
See Also:
  • 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 values
      type - is the type of outer join
      right - 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 values
      type - is the type of outer join
      right - is a property providing joined-on values
      additionalProperties - 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 values
      type - is the type of outer join
      propertyRight - 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

      public void setAdditionalProperties(List<PropertyValueExpressionPair> additionalProperties)
      Set join properties.
      Parameters:
      additionalProperties - for outer join
    • getLeft

      public Expression getLeft()
      Returns property value expression to join on.
      Returns:
      expression providing joined-on values
    • setLeft

      public void setLeft(Expression left)
      Sets the property value expression to join on.
      Parameters:
      left - expression providing joined-on values
    • getRight

      public Expression getRight()
      Returns property value expression to join on.
      Returns:
      expression providing joined-on values
    • setRight

      public void setRight(Expression right)
      Sets the property value expression to join on.
      Parameters:
      right - expression providing joined-on values
    • add

      public OuterJoinQualifier add(String propertyLeft, String propertyRight)
      Add additional properties to the on-clause, which are logical-and to existing properties
      Parameters:
      propertyLeft - property providing joined-on value
      propertyRight - property providing joined-on value
      Returns:
      outer join qualifier
    • getAdditionalProperties

      public List<PropertyValueExpressionPair> 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