public class RecordedEvent
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
@NotNull java.lang.String |
getContentType()
The event's content type.
|
@NotNull java.time.Instant |
getCreated()
When the event was created.
|
byte[] |
getEventData()
The event's payload data.
|
@NotNull java.util.UUID |
getEventId()
The event's unique identifier.
|
@NotNull java.lang.String |
getEventType()
The event's type.
|
@NotNull Position |
getPosition()
The event's transaction log position.
|
@NotNull long |
getRevision()
The event's stream revision number.
|
@NotNull java.lang.String |
getStreamId()
The stream that event belongs to.
|
byte[] |
getUserMetadata()
The event's metadata.
|
int |
hashCode() |
java.lang.String |
toString() |
@NotNull public @NotNull java.lang.String getStreamId()
@NotNull public @NotNull long getRevision()
@NotNull public @NotNull java.util.UUID getEventId()
@NotNull public @NotNull java.lang.String getEventType()
public byte[] getEventData()
public byte[] getUserMetadata()
@NotNull public @NotNull java.time.Instant getCreated()
@NotNull public @NotNull Position getPosition()
@NotNull public @NotNull java.lang.String getContentType()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object