com.espertech.esper.pattern
Class EvalGuardFactoryNode

java.lang.Object
  extended by com.espertech.esper.pattern.EvalNodeFactoryBase
      extended by com.espertech.esper.pattern.EvalGuardFactoryNode
All Implemented Interfaces:
EvalFactoryNode, java.io.Serializable

public class EvalGuardFactoryNode
extends EvalNodeFactoryBase

This class represents a guard in the evaluation tree representing an event expressions.

See Also:
Serialized Form

Constructor Summary
protected EvalGuardFactoryNode(PatternGuardSpec patternGuardSpec)
          Constructor.
 
Method Summary
 GuardFactory getGuardFactory()
          Returns the guard factory.
 PatternGuardSpec getPatternGuardSpec()
          Returns the guard object specification to use for instantiating the guard factory and guard.
 PatternExpressionPrecedenceEnum getPrecedence()
          Returns precendence.
 boolean isFilterChildNonQuitting()
           
 boolean isStateful()
           
 EvalNode makeEvalNode(PatternAgentInstanceContext agentInstanceContext)
           
 void setGuardFactory(GuardFactory guardFactory)
          Supplies the guard factory to the node.
 java.lang.String toPrecedenceFreeEPL()
           
 void toPrecedenceFreeEPL(java.io.StringWriter writer)
           
 java.lang.String toString()
           
 
Methods inherited from class com.espertech.esper.pattern.EvalNodeFactoryBase
addChildNode, addChildNodes, getChildNodes, getFactoryNodeId, setFactoryNodeId, toEPL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EvalGuardFactoryNode

protected EvalGuardFactoryNode(PatternGuardSpec patternGuardSpec)
Constructor.

Parameters:
patternGuardSpec - - factory for guard construction
Method Detail

makeEvalNode

public EvalNode makeEvalNode(PatternAgentInstanceContext agentInstanceContext)
Specified by:
makeEvalNode in interface EvalFactoryNode
Specified by:
makeEvalNode in class EvalNodeFactoryBase

getPatternGuardSpec

public PatternGuardSpec getPatternGuardSpec()
Returns the guard object specification to use for instantiating the guard factory and guard.

Returns:
guard specification

setGuardFactory

public void setGuardFactory(GuardFactory guardFactory)
Supplies the guard factory to the node.

Parameters:
guardFactory - is the guard factory

getGuardFactory

public GuardFactory getGuardFactory()
Returns the guard factory.

Returns:
guard factory

toString

public final java.lang.String toString()
Overrides:
toString in class java.lang.Object

isFilterChildNonQuitting

public boolean isFilterChildNonQuitting()

isStateful

public boolean isStateful()

toPrecedenceFreeEPL

public java.lang.String toPrecedenceFreeEPL()

toPrecedenceFreeEPL

public void toPrecedenceFreeEPL(java.io.StringWriter writer)
Specified by:
toPrecedenceFreeEPL in class EvalNodeFactoryBase

getPrecedence

public PatternExpressionPrecedenceEnum getPrecedence()
Description copied from interface: EvalFactoryNode
Returns precendence.

Returns:
precendence

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