|
||||||||||
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.ConstantExpression
public class ConstantExpression
Constant value returns a fixed value for use in expressions.
Constructor Summary | |
---|---|
ConstantExpression()
Ctor. |
|
ConstantExpression(java.lang.Object constant)
Ctor. |
|
ConstantExpression(java.lang.Object constant,
java.lang.String constantType)
Ctor. |
Method Summary | |
---|---|
java.lang.Object |
getConstant()
Returns the constant value that the expression represents. |
java.lang.String |
getConstantType()
Returns the type of the constant. |
ExpressionPrecedenceEnum |
getPrecedence()
Returns precedence. |
void |
setConstant(java.lang.Object constant)
Sets the constant value that the expression represents. |
void |
setConstantType(java.lang.String constantType)
Sets the type of the constant. |
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 ConstantExpression()
public ConstantExpression(java.lang.Object constant)
constant
- is the constant value, or null to represent the null valuepublic ConstantExpression(java.lang.Object constant, java.lang.String constantType)
constant
- valueconstantType
- typeMethod Detail |
---|
public java.lang.String getConstantType()
public void setConstantType(java.lang.String constantType)
constantType
- typepublic ExpressionPrecedenceEnum getPrecedence()
Expression
public void toPrecedenceFreeEPL(java.io.StringWriter writer)
ExpressionBase
toPrecedenceFreeEPL
in class ExpressionBase
writer
- is the output to usepublic java.lang.Object getConstant()
public void setConstant(java.lang.Object constant)
constant
- is the value, or null to indicate the null value
|
© 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 |