com.espertech.esper.epl.expression.funcs
Class ExprCastNode.StringParserComputer

java.lang.Object
  extended by com.espertech.esper.epl.expression.funcs.ExprCastNode.StringParserComputer
All Implemented Interfaces:
ExprCastNode.CasterParserComputer
Enclosing class:
ExprCastNode

public static class ExprCastNode.StringParserComputer
extends java.lang.Object
implements ExprCastNode.CasterParserComputer

Casting and parsing computer.


Constructor Summary
ExprCastNode.StringParserComputer(SimpleTypeParser parser)
           
 
Method Summary
 java.lang.Object compute(java.lang.Object input, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext exprEvaluatorContext)
          Compute an result performing casting and parsing.
 boolean isConstantForConstInput()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExprCastNode.StringParserComputer

public ExprCastNode.StringParserComputer(SimpleTypeParser parser)
Method Detail

compute

public java.lang.Object compute(java.lang.Object input,
                                EventBean[] eventsPerStream,
                                boolean newData,
                                ExprEvaluatorContext exprEvaluatorContext)
Description copied from interface: ExprCastNode.CasterParserComputer
Compute an result performing casting and parsing.

Specified by:
compute in interface ExprCastNode.CasterParserComputer
Parameters:
input - to process
eventsPerStream - events per stream
newData - new data indicator
exprEvaluatorContext - evaluation context
Returns:
cast or parse result

isConstantForConstInput

public boolean isConstantForConstInput()
Specified by:
isConstantForConstInput in interface ExprCastNode.CasterParserComputer

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