com.espertech.esper.epl.spec
Class SubstitutionParameterExpressionBase

java.lang.Object
  extended by com.espertech.esper.client.soda.ExpressionBase
      extended by com.espertech.esper.epl.spec.SubstitutionParameterExpressionBase
All Implemented Interfaces:
Expression, java.io.Serializable
Direct Known Subclasses:
SubstitutionParameterExpressionIndexed, SubstitutionParameterExpressionNamed

public abstract class SubstitutionParameterExpressionBase
extends ExpressionBase

Substitution parameter that represents a node in an expression tree for which to supply a parameter value before statement creation time.

See Also:
Serialized Form

Constructor Summary
SubstitutionParameterExpressionBase()
           
 
Method Summary
 java.lang.Object getConstant()
          Returns the constant value that the expression represents.
 ExpressionPrecedenceEnum getPrecedence()
          Returns precedence.
 boolean isSatisfied()
          Returns true if the parameter is satisfied, or false if not.
 void setConstant(java.lang.Object constant)
          Sets the constant value that the expression represents.
 void toPrecedenceFreeEPL(java.io.StringWriter writer)
          Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.
protected abstract  void toPrecedenceFreeEPLUnsatisfied(java.io.StringWriter writer)
           
 
Methods inherited from class com.espertech.esper.client.soda.ExpressionBase
addChild, getChildren, getTreeObjectName, renderAggregation, setChildren, setTreeObjectName, toEPL, toPrecedenceFreeEPL, toPrecedenceFreeEPL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubstitutionParameterExpressionBase

public SubstitutionParameterExpressionBase()
Method Detail

toPrecedenceFreeEPLUnsatisfied

protected abstract void toPrecedenceFreeEPLUnsatisfied(java.io.StringWriter writer)

getPrecedence

public ExpressionPrecedenceEnum getPrecedence()
Description copied from interface: Expression
Returns precedence.

Returns:
precedence

toPrecedenceFreeEPL

public void toPrecedenceFreeEPL(java.io.StringWriter writer)
Description copied from class: ExpressionBase
Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.

Specified by:
toPrecedenceFreeEPL in class ExpressionBase
Parameters:
writer - is the output to use

getConstant

public java.lang.Object getConstant()
Returns the constant value that the expression represents.

Returns:
value of constant

isSatisfied

public boolean isSatisfied()
Returns true if the parameter is satisfied, or false if not.

Returns:
true if the actual value is supplied, false if not

setConstant

public void setConstant(java.lang.Object constant)
Sets the constant value that the expression represents.

Parameters:
constant - is the value, or null to indicate the null value

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