Class SessionWindowProcessor.SessionComplexEventChunk<E extends ComplexEvent>
- java.lang.Object
-
- io.siddhi.core.event.ComplexEventChunk
-
- io.siddhi.core.query.processor.stream.window.SessionWindowProcessor.SessionComplexEventChunk<E>
-
- Type Parameters:
E- sub types of ComplexEvent such as StreamEvent and StateEvent.
- All Implemented Interfaces:
Serializable,Iterator
- Enclosing class:
- SessionWindowProcessor
public static class SessionWindowProcessor.SessionComplexEventChunk<E extends ComplexEvent> extends ComplexEventChunk
Collection used to manage session windows.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class io.siddhi.core.event.ComplexEventChunk
first, last, lastReturned, previousToLastReturned
-
-
Constructor Summary
Constructors Constructor Description SessionComplexEventChunk()SessionComplexEventChunk(String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetAliveTimestamp()longgetEndTimestamp()StringgetKey()longgetStartTimestamp()voidsetAliveTimestamp(long aliveTimestamp)voidsetEndTimestamp(long endTimestamp)voidsetKey(String key)voidsetStartTimestamp(long startTimestamp)voidsetTimestamps(long startTimestamp, long endTimestamp, long aliveTimestamp)-
Methods inherited from class io.siddhi.core.event.ComplexEventChunk
add, addAll, clear, detach, detachAllBeforeCurrent, getFirst, getLast, hasNext, insertAfterCurrent, insertBeforeCurrent, isBatch, next, poll, remove, reset, setBatch, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
SessionComplexEventChunk
public SessionComplexEventChunk(String key)
-
SessionComplexEventChunk
public SessionComplexEventChunk()
-
-
Method Detail
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
getStartTimestamp
public long getStartTimestamp()
-
setStartTimestamp
public void setStartTimestamp(long startTimestamp)
-
getEndTimestamp
public long getEndTimestamp()
-
setEndTimestamp
public void setEndTimestamp(long endTimestamp)
-
getAliveTimestamp
public long getAliveTimestamp()
-
setAliveTimestamp
public void setAliveTimestamp(long aliveTimestamp)
-
setTimestamps
public void setTimestamps(long startTimestamp, long endTimestamp, long aliveTimestamp)
-
-