Class BaseWindow<L,I> 
java.lang.Object
org.apache.storm.streams.windowing.BaseWindow<L,I> 
- All Implemented Interfaces:
- Serializable,- Window<L,- I> 
- Direct Known Subclasses:
- SlidingWindows,- TumblingWindows
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected BaseWindowedBolt.Durationprotected Stringprotected String
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleangetLag()The maximum time lag of the tuple timestamp in milliseconds.The name of the stream where late arriving tuples should be emitted.The name of the field in the tuple that contains the timestamp when the event occurred as a long value.inthashCode()Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.storm.streams.windowing.WindowgetSlidingInterval, getWindowLength
- 
Field Details- 
timestampField
- 
lateTupleStream
- 
lag
 
- 
- 
Constructor Details- 
BaseWindowpublic BaseWindow()
 
- 
- 
Method Details- 
getTimestampFieldDescription copied from interface:WindowThe name of the field in the tuple that contains the timestamp when the event occurred as a long value. This is used of event-time based processing. If this config is set and the field is not present in the incoming tuple, anIllegalArgumentExceptionwill be thrown.- Specified by:
- getTimestampFieldin interface- Window<L,- I> 
- Returns:
- the timestamp field.
 
- 
getLateTupleStreamDescription copied from interface:WindowThe name of the stream where late arriving tuples should be emitted. If this is not provided, the late tuples would be discarded.- Specified by:
- getLateTupleStreamin interface- Window<L,- I> 
- Returns:
- the name of the stream used to emit late tuples on
 
- 
getLagDescription copied from interface:WindowThe maximum time lag of the tuple timestamp in milliseconds. It means that the tuple timestamps cannot be out of order by more than this amount.
- 
equals
- 
hashCodepublic int hashCode()
 
-