@Override protected void customDecode(org.apache.avro.io.ResolvingDecoder in) throws java.io.IOException { org.apache.avro.Schema.Field[] fieldOrder = in.readFieldOrderIfDiff(); if (fieldOrder == null) { if (this.hash == null) { this.hash = new org.apache.avro.test.util.MD5(); } in.readFixed(this.hash.bytes(), 0, 16); } else { for (int i = 0; i < 1; i++) { switch (fieldOrder[i].pos()) { case 0: if (this.hash == null) { this.hash = new org.apache.avro.test.util.MD5(); } in.readFixed(this.hash.bytes(), 0, 16); break; default: throw new java.io.IOException("Corrupt ResolvingDecoder."); } } } } }
@Override protected void customDecode(org.apache.avro.io.ResolvingDecoder in) throws java.io.IOException { org.apache.avro.Schema.Field[] fieldOrder = in.readFieldOrderIfDiff(); if (fieldOrder == null) { if (this.hash == null) { this.hash = new org.apache.avro.test.util.MD5(); } in.readFixed(this.hash.bytes(), 0, 16); } else { for (int i = 0; i < 1; i++) { switch (fieldOrder[i].pos()) { case 0: if (this.hash == null) { this.hash = new org.apache.avro.test.util.MD5(); } in.readFixed(this.hash.bytes(), 0, 16); break; default: throw new java.io.IOException("Corrupt ResolvingDecoder."); } } } } }
this.clientHash = new org.apache.avro.ipc.MD5(); in.readFixed(this.clientHash.bytes(), 0, 16); this.serverHash = new org.apache.avro.ipc.MD5(); in.readFixed(this.serverHash.bytes(), 0, 16); this.clientHash = new org.apache.avro.ipc.MD5(); in.readFixed(this.clientHash.bytes(), 0, 16); break; this.serverHash = new org.apache.avro.ipc.MD5(); in.readFixed(this.serverHash.bytes(), 0, 16); break;