public class SelfDescribing extends AbstractSelfDescribing
| Modifier and Type | Field and Description |
|---|---|
SelfDescribingJson |
eventData
The properties of the event.
|
customContexts, trueTimestamp| Constructor and Description |
|---|
SelfDescribing(SelfDescribingJson eventData)
Creates a SelfDescribing event.
|
SelfDescribing(String schema,
Map<String,Object> payload)
Creates a SelfDescribing event.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getDataPayload() |
String |
getSchema() |
beginProcessing, contexts, endProcessing, getContexts, getTrueTimestamp, trueTimestamp@NonNull public final SelfDescribingJson eventData
public SelfDescribing(@NonNull
SelfDescribingJson eventData)
eventData - The properties of the event. Has two field: a "data" field containing the event
properties and a "schema" field identifying the schema against which the data is validated.