@Test public void testNewPreparedEventMetadata() { final EventMetadata eventMetadata = EventMetadata.newPreparedEventMetadata(); assertNotNull(eventMetadata.eid()); assertNotNull(eventMetadata.occurredAt()); assertNotNull(eventMetadata.flowId()); }
public static EventMetadata newPreparedEventMetadata() { return new EventMetadata().withEid().withFlowId().withOccurredAt(); }
EventMetadata { public static EventMetadata newPreparedEventMetadata() { return new EventMetadata().withEid().withFlowId().withOccurredAt(); } }
EventMetadata { public static EventMetadata newPreparedEventMetadata() { return new EventMetadata().withEid().withFlowId().withOccurredAt(); } EventMetadata(); }
EventMetadata { public static EventMetadata newPreparedEventMetadata() { return new EventMetadata().withEid().withFlowId().withOccurredAt(); } EventMetadata(); static EventMetadata newPreparedEventMetadata(); EventMetadata withEid(); EventMetadata withOccurredAt(); EventMetadata withFlowId(); String eid(); EventMetadata eid(String eid); String partitionCompactionKey(); EventMetadata partitionCompactionKey(String partitionCompactionKey); String eventType(); EventMetadata eventType(String eventType); OffsetDateTime occurredAt(); EventMetadata occurredAt(OffsetDateTime occurredAt); OffsetDateTime receivedAt(); List<String> parentEids(); EventMetadata parentEids(String... parentEids); String flowId(); EventMetadata flowId(String flowId); String partition(); EventMetadata partition(String partition); Map<String, String> spanCtx(); EventMetadata spanCtx(Map<String, String> spanCtx); @Experimental String version(); @Override int hashCode(); @Override boolean equals(Object o); @Override String toString(); }
EventMetadata { public static EventMetadata newPreparedEventMetadata() { return new EventMetadata().withEid().withFlowId().withOccurredAt(); } EventMetadata(); static EventMetadata newPreparedEventMetadata(); EventMetadata withEid(); EventMetadata withOccurredAt(); EventMetadata withFlowId(); String eid(); EventMetadata eid(String eid); String partitionCompactionKey(); EventMetadata partitionCompactionKey(String partitionCompactionKey); String eventType(); EventMetadata eventType(String eventType); OffsetDateTime occurredAt(); EventMetadata occurredAt(OffsetDateTime occurredAt); OffsetDateTime receivedAt(); List<String> parentEids(); EventMetadata parentEids(String... parentEids); String flowId(); EventMetadata flowId(String flowId); String partition(); EventMetadata partition(String partition); Map<String, String> spanCtx(); EventMetadata spanCtx(Map<String, String> spanCtx); @Experimental String version(); @Override int hashCode(); @Override boolean equals(Object o); @Override String toString();  }