public class Event
extends java.lang.Object
implements org.apache.avro.generic.IndexedRecord
Constructor and Description |
---|
Event(org.apache.avro.Schema avroSchema) |
Event(java.lang.String groupId,
Payload payload) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(int i) |
org.apache.avro.Schema |
getSchema() |
java.lang.String |
groupId() |
java.util.UUID |
id() |
Payload |
payload() |
void |
put(int i,
java.lang.Object v) |
java.time.OffsetDateTime |
timestamp() |
PayloadType |
type() |
public Event(org.apache.avro.Schema avroSchema)
public Event(java.lang.String groupId, Payload payload)
public java.util.UUID id()
public PayloadType type()
public java.time.OffsetDateTime timestamp()
public Payload payload()
public java.lang.String groupId()
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
public void put(int i, java.lang.Object v)
put
in interface org.apache.avro.generic.IndexedRecord
public java.lang.Object get(int i)
get
in interface org.apache.avro.generic.IndexedRecord