com.espertech.esper.client.soda
Class OuterJoinQualifier

java.lang.Object
  extended by com.espertech.esper.client.soda.OuterJoinQualifier
All Implemented Interfaces:
java.io.Serializable

public class OuterJoinQualifier
extends java.lang.Object
implements java.io.Serializable

Qualifies a join by providing the outer join type (full/left/right) and joined-on properties.

See Also:
Serialized Form

Constructor Summary
OuterJoinQualifier()
          Ctor.
OuterJoinQualifier(OuterJoinType type, PropertyValueExpression left, PropertyValueExpression right)
          Ctor.
OuterJoinQualifier(OuterJoinType type, PropertyValueExpression left, PropertyValueExpression right, java.util.ArrayList<PropertyValueExpressionPair> additionalProperties)
          Ctor.
 
Method Summary
 OuterJoinQualifier add(java.lang.String propertyLeft, java.lang.String propertyRight)
          Add additional properties to the on-clause, which are logical-and to existing properties
static OuterJoinQualifier create(java.lang.String propertyLeft, OuterJoinType type, java.lang.String propertyRight)
          Creates qualifier.
 java.util.List<PropertyValueExpressionPair> getAdditionalProperties()
          Returns optional additional properties in the on-clause of the outer join.
 Expression getLeft()
          Returns property value expression to join on.
 Expression getRight()
          Returns property value expression to join on.
 OuterJoinType getType()
          Returns the type of outer join.
 void setAdditionalProperties(java.util.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(OuterJoinType type)
          Sets the type of outer join.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OuterJoinQualifier

public OuterJoinQualifier()
Ctor.


OuterJoinQualifier

public OuterJoinQualifier(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(OuterJoinType type,
                          PropertyValueExpression left,
                          PropertyValueExpression right,
                          java.util.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 Detail

create

public static OuterJoinQualifier create(java.lang.String propertyLeft,
                                        OuterJoinType type,
                                        java.lang.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 OuterJoinType getType()
Returns the type of outer join.

Returns:
outer join type

setType

public void setType(OuterJoinType type)
Sets the type of outer join.

Parameters:
type - is the outer join type

setAdditionalProperties

public void setAdditionalProperties(java.util.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(java.lang.String propertyLeft,
                              java.lang.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 java.util.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

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com