@Test(groups = "fast") public void testVersion1() throws Exception { final ThriftEnvelope thriftEnvelope = new ThriftEnvelope(eventType); thriftEnvelope.getPayload().add(ThriftField.createThriftField(100L, (short) 4)); thriftEnvelope.getPayload().add(ThriftField.createThriftField("fuuness", (short) 1)); final ThriftEnvelopeEvent event = new ThriftEnvelopeEvent(new DateTime("2009-01-01T02:03:04"), thriftEnvelope); Assert.assertEquals(event.getVersion(), "1.4"); }
@Override public String getVersion() { return thriftEnvelope.getVersion(); }
ThriftEnvelopeEvent implements Event { @Override public String getVersion() { return thriftEnvelope.getVersion(); } }
ThriftEnvelopeEvent implements Event { @Override public String getVersion() { return thriftEnvelope.getVersion(); } ThriftEnvelopeEvent();  ThriftEnvelopeEvent(final DateTime eventDateTime, final ThriftEnvelope thriftEnvelope);  ThriftEnvelopeEvent(final DateTime eventDateTime, final ThriftEnvelope thriftEnvelope, final Granularity granularity);  ThriftEnvelopeEvent(final InputStream in, final ThriftEnvelopeDeserializer deserializer); }
ThriftEnvelopeEvent implements Event { @Override public String getVersion() { return thriftEnvelope.getVersion(); } ThriftEnvelopeEvent();  ThriftEnvelopeEvent(final DateTime eventDateTime, final ThriftEnvelope thriftEnvelope);  ThriftEnvelopeEvent(final DateTime eventDateTime, final ThriftEnvelope thriftEnvelope, final Granularity granularity);  ThriftEnvelopeEvent(final InputStream in, final ThriftEnvelopeDeserializer deserializer); @Override DateTime getEventDateTime(); @Override String getName(); @Override Granularity getGranularity(); @Override String getVersion(); @Override String getOutputDir(final String prefix); @Override Object getData(); @Override byte[] getSerializedEvent(); @Override void readExternal(final ObjectInput in); @Override void writeExternal(final ObjectOutput out); @Override String toString(); }
ThriftEnvelopeEvent implements Event { @Override public String getVersion() { return thriftEnvelope.getVersion(); } ThriftEnvelopeEvent();  ThriftEnvelopeEvent(final DateTime eventDateTime, final ThriftEnvelope thriftEnvelope);  ThriftEnvelopeEvent(final DateTime eventDateTime, final ThriftEnvelope thriftEnvelope, final Granularity granularity);  ThriftEnvelopeEvent(final InputStream in, final ThriftEnvelopeDeserializer deserializer); @Override DateTime getEventDateTime(); @Override String getName(); @Override Granularity getGranularity(); @Override String getVersion(); @Override String getOutputDir(final String prefix); @Override Object getData(); @Override byte[] getSerializedEvent(); @Override void readExternal(final ObjectInput in); @Override void writeExternal(final ObjectOutput out); @Override String toString();  }