|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.client.soda.ExpressionBase
net.esper.client.soda.CastExpression
public class CastExpression
Cast expression casts the return value of an expression to a specified type.
Constructor Summary | |
---|---|
CastExpression(Expression expressionToCheck,
String typeName)
Ctor. |
|
CastExpression(String typeName)
Ctor - for use to create an expression tree, without child expression. |
Method Summary | |
---|---|
String |
getTypeName()
Returns the name of the type to cast to. |
void |
setTypeName(String typeName)
Sets the name of the type to cast to. |
void |
toEQL(StringWriter writer)
Renders the clause in textual representation. |
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 |
Constructor Detail |
---|
public CastExpression(String typeName)
typeName
- is the type to cast to: a fully-qualified class name or Java primitive type name or "string"public CastExpression(Expression expressionToCheck, String typeName)
expressionToCheck
- provides values to casttypeName
- is the type to cast to: a fully-qualified class names or Java primitive type names or "string"Method Detail |
---|
public void toEQL(StringWriter writer)
writer
- to output topublic String getTypeName()
public void setTypeName(String typeName)
typeName
- is the name of type to cast to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |