|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.soda.ExpressionBase
com.espertech.esper.epl.spec.SubstitutionParameterExpression
public class SubstitutionParameterExpression
Substitution parameter that represents a node in an expression tree for which to supply a parameter value before statement creation time.
Constructor Summary | |
---|---|
SubstitutionParameterExpression(int index)
Ctor. |
Method Summary | |
---|---|
Object |
getConstant()
Returns the constant value that the expression represents. |
int |
getIndex()
Returns the index of the parameter. |
boolean |
isSatisfied()
Returns true if the parameter is satisfied, or false if not. |
void |
setConstant(Object constant)
Sets the constant value that the expression represents. |
void |
toEPL(StringWriter writer)
Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax. |
Methods inherited from class com.espertech.esper.client.soda.ExpressionBase |
---|
addChild, getChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubstitutionParameterExpression(int index)
index
- is the index of the substitution parameterMethod Detail |
---|
public void toEPL(StringWriter writer)
Expression
writer
- is the output to usepublic Object getConstant()
public boolean isSatisfied()
public int getIndex()
public void setConstant(Object constant)
constant
- is the value, or null to indicate the null value
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |