public abstract class BaseWindow<L,I> extends Object implements Window<L,I>
Modifier and Type | Field and Description |
---|---|
protected BaseWindowedBolt.Duration |
lag |
protected String |
lateTupleStream |
protected String |
timestampField |
Constructor and Description |
---|
BaseWindow() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
BaseWindowedBolt.Duration |
getLag()
The maximum time lag of the tuple timestamp in milliseconds.
|
String |
getLateTupleStream()
The name of the stream where late arriving tuples should be emitted.
|
String |
getTimestampField()
The name of the field in the tuple that contains the timestamp when the event occurred as a long value.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getSlidingInterval, getWindowLength
protected String timestampField
protected String lateTupleStream
protected BaseWindowedBolt.Duration lag
public String getTimestampField()
Window
IllegalArgumentException
will
be thrown.getTimestampField
in interface Window<L,I>
public String getLateTupleStream()
Window
getLateTupleStream
in interface Window<L,I>
public BaseWindowedBolt.Duration getLag()
Window
Copyright © 2023 The Apache Software Foundation. All rights reserved.