Class EventId
- java.lang.Object
-
- org.apache.flink.cep.nfa.sharedbuffer.EventId
-
- All Implemented Interfaces:
Comparable<EventId>
public class EventId extends Object implements Comparable<EventId>
Composite key for events inSharedBuffer
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EventId.EventIdSerializer
TypeSerializer
forEventId
.
-
Field Summary
Fields Modifier and Type Field Description static Comparator<EventId>
COMPARATOR
-
Constructor Summary
Constructors Constructor Description EventId(int id, long timestamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(EventId o)
boolean
equals(Object o)
int
getId()
long
getTimestamp()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
COMPARATOR
public static final Comparator<EventId> COMPARATOR
-
-
Method Detail
-
getId
public int getId()
-
getTimestamp
public long getTimestamp()
-
compareTo
public int compareTo(EventId o)
- Specified by:
compareTo
in interfaceComparable<EventId>
-
-