|
||||||||||
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.client.soda.PreviousExpression
public class PreviousExpression
Previous function for obtaining property values of previous events.
Constructor Summary | |
---|---|
PreviousExpression()
Ctor. |
|
PreviousExpression(Expression expression,
java.lang.String propertyName)
Ctor. |
|
PreviousExpression(int index,
java.lang.String propertyName)
Ctor. |
|
PreviousExpression(PreviousExpressionType type,
Expression expression)
Ctor. |
Method Summary | |
---|---|
ExpressionPrecedenceEnum |
getPrecedence()
Returns precedence. |
PreviousExpressionType |
getType()
Returns the type of the previous expression (tail, first, window, count) |
void |
setType(PreviousExpressionType type)
Sets the type of the previous expression (tail, first, window, count) |
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. |
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 |
---|
public PreviousExpression()
public PreviousExpression(Expression expression, java.lang.String propertyName)
expression
- provides the index to usepropertyName
- is the name of the property to return the value forpublic PreviousExpression(int index, java.lang.String propertyName)
index
- provides the indexpropertyName
- is the name of the property to return the value forpublic PreviousExpression(PreviousExpressionType type, Expression expression)
type
- type of previous expression (tail, first, window, count)expression
- to evaluateMethod Detail |
---|
public ExpressionPrecedenceEnum getPrecedence()
Expression
public PreviousExpressionType getType()
public void setType(PreviousExpressionType type)
type
- to setpublic void toPrecedenceFreeEPL(java.io.StringWriter writer)
ExpressionBase
toPrecedenceFreeEPL
in class ExpressionBase
writer
- is the output to use
|
© 2006-2015 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 |