in flume-legacy-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEvent.java [182:199]
public ThriftFlumeEvent(ThriftFlumeEvent other) {
__isset_bitfield = other.__isset_bitfield;
this.timestamp = other.timestamp;
if (other.isSetPriority()) {
this.priority = other.priority;
}
if (other.isSetBody()) {
this.body = org.apache.thrift.TBaseHelper.copyBinary(other.body);
}
this.nanos = other.nanos;
if (other.isSetHost()) {
this.host = other.host;
}
if (other.isSetFields()) {
java.util.Map<java.lang.String,java.nio.ByteBuffer> __this__fields = new java.util.HashMap<java.lang.String,java.nio.ByteBuffer>(other.fields);
this.fields = __this__fields;
}
}