net.esper.client.soda
Class Junction

java.lang.Object
  extended by net.esper.client.soda.ExpressionBase
      extended by net.esper.client.soda.Junction
All Implemented Interfaces:
Serializable, Expression
Direct Known Subclasses:
Conjunction, Disjunction

public abstract class Junction
extends ExpressionBase

Base junction for conjunction (and) and disjunction (or).

See Also:
Serialized Form

Constructor Summary
Junction()
           
 
Method Summary
 Junction add(Expression expression)
          Expression to add to the conjunction (AND) or disjunction (OR).
 Junction add(String propertyName)
          Property to add to the conjunction (AND) or disjunction (OR).
 
Methods inherited from class net.esper.client.soda.ExpressionBase
addChild, getChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.esper.client.soda.Expression
toEQL
 

Constructor Detail

Junction

public Junction()
Method Detail

add

public Junction add(Expression expression)
Expression to add to the conjunction (AND) or disjunction (OR).

Parameters:
expression - to add
Returns:
expression

add

public Junction add(String propertyName)
Property to add to the conjunction (AND) or disjunction (OR).

Parameters:
propertyName - is the name of the property
Returns:
expression