com.espertech.esper.view.window
Class TimeBatchViewFactoryParams

java.lang.Object
  extended by com.espertech.esper.view.window.TimeBatchViewFactoryParams
Direct Known Subclasses:
TimeBatchViewFactory, TimeLengthBatchViewFactory

public class TimeBatchViewFactoryParams
extends java.lang.Object

Parameters for batch views that provides common data flow parameter parsing.


Field Summary
protected  EventType eventType
          Event type
protected static java.lang.String FORCE_UPDATE_KEYWORD
          Keyword for force update, i.e.
protected  boolean isForceUpdate
          Indicate whether to output only if there is data, or to keep outputting empty batches.
protected  boolean isStartEager
          Indicate whether to output only if there is data, or to keep outputting empty batches.
protected static java.lang.String START_EAGER_KEYWORD
          Keyword for starting eager, i.e.
protected  ExprTimePeriodEvalDeltaConst timeDeltaComputation
          Number of msec before batch fires (either interval or number of events).
 
Constructor Summary
TimeBatchViewFactoryParams()
           
 
Method Summary
protected  void processKeywords(java.lang.Object keywords, java.lang.String errorMessage)
          Convert keywords into isForceUpdate and isStartEager members
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORCE_UPDATE_KEYWORD

protected static final java.lang.String FORCE_UPDATE_KEYWORD
Keyword for force update, i.e. update if no data.

See Also:
Constant Field Values

START_EAGER_KEYWORD

protected static final java.lang.String START_EAGER_KEYWORD
Keyword for starting eager, i.e. start early.

See Also:
Constant Field Values

eventType

protected EventType eventType
Event type


timeDeltaComputation

protected ExprTimePeriodEvalDeltaConst timeDeltaComputation
Number of msec before batch fires (either interval or number of events).


isForceUpdate

protected boolean isForceUpdate
Indicate whether to output only if there is data, or to keep outputting empty batches.


isStartEager

protected boolean isStartEager
Indicate whether to output only if there is data, or to keep outputting empty batches.

Constructor Detail

TimeBatchViewFactoryParams

public TimeBatchViewFactoryParams()
Method Detail

processKeywords

protected void processKeywords(java.lang.Object keywords,
                               java.lang.String errorMessage)
                        throws ViewParameterException
Convert keywords into isForceUpdate and isStartEager members

Parameters:
keywords - flow control keyword string
errorMessage - error message
Throws:
ViewParameterException - if parsing failed

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