if (isValidValue(fields()[0], other.taskid)) { this.taskid = data().deepCopy(fields()[0].schema(), other.taskid); fieldSetFlags()[0] = true; if (isValidValue(fields()[1], other.attemptId)) { this.attemptId = data().deepCopy(fields()[1].schema(), other.attemptId); fieldSetFlags()[1] = true; if (isValidValue(fields()[2], other.taskType)) { this.taskType = data().deepCopy(fields()[2].schema(), other.taskType); fieldSetFlags()[2] = true; if (isValidValue(fields()[3], other.taskStatus)) { this.taskStatus = data().deepCopy(fields()[3].schema(), other.taskStatus); fieldSetFlags()[3] = true; if (isValidValue(fields()[4], other.mapFinishTime)) { this.mapFinishTime = data().deepCopy(fields()[4].schema(), other.mapFinishTime); fieldSetFlags()[4] = true; if (isValidValue(fields()[5], other.finishTime)) { this.finishTime = data().deepCopy(fields()[5].schema(), other.finishTime); fieldSetFlags()[5] = true; if (isValidValue(fields()[6], other.hostname)) { this.hostname = data().deepCopy(fields()[6].schema(), other.hostname); fieldSetFlags()[6] = true; if (isValidValue(fields()[7], other.port)) {
@Override public MapAttemptFinished build() { try { MapAttemptFinished record = new MapAttemptFinished(); record.taskid = fieldSetFlags()[0] ? this.taskid : (java.lang.CharSequence) defaultValue(fields()[0]); record.attemptId = fieldSetFlags()[1] ? this.attemptId : (java.lang.CharSequence) defaultValue(fields()[1]); record.taskType = fieldSetFlags()[2] ? this.taskType : (java.lang.CharSequence) defaultValue(fields()[2]); record.taskStatus = fieldSetFlags()[3] ? this.taskStatus : (java.lang.CharSequence) defaultValue(fields()[3]); record.mapFinishTime = fieldSetFlags()[4] ? this.mapFinishTime : (java.lang.Long) defaultValue(fields()[4]); record.finishTime = fieldSetFlags()[5] ? this.finishTime : (java.lang.Long) defaultValue(fields()[5]); record.hostname = fieldSetFlags()[6] ? this.hostname : (java.lang.CharSequence) defaultValue(fields()[6]); record.port = fieldSetFlags()[7] ? this.port : (java.lang.Integer) defaultValue(fields()[7]); record.rackname = fieldSetFlags()[8] ? this.rackname : (java.lang.CharSequence) defaultValue(fields()[8]); record.state = fieldSetFlags()[9] ? this.state : (java.lang.CharSequence) defaultValue(fields()[9]); record.counters = fieldSetFlags()[10] ? this.counters : (org.apache.hadoop.mapreduce.jobhistory.JhCounters) defaultValue(fields()[10]); record.clockSplits = fieldSetFlags()[11] ? this.clockSplits : (java.util.List<java.lang.Integer>) defaultValue(fields()[11]); record.cpuUsages = fieldSetFlags()[12] ? this.cpuUsages : (java.util.List<java.lang.Integer>) defaultValue(fields()[12]); record.vMemKbytes = fieldSetFlags()[13] ? this.vMemKbytes : (java.util.List<java.lang.Integer>) defaultValue(fields()[13]); record.physMemKbytes = fieldSetFlags()[14] ? this.physMemKbytes : (java.util.List<java.lang.Integer>) defaultValue(fields()[14]); return record; } catch (Exception e) { throw new org.apache.avro.AvroRuntimeException(e); } } }
if (isValidValue(fields()[0], other.taskid)) { this.taskid = data().deepCopy(fields()[0].schema(), other.taskid); fieldSetFlags()[0] = true; if (isValidValue(fields()[1], other.attemptId)) { this.attemptId = data().deepCopy(fields()[1].schema(), other.attemptId); fieldSetFlags()[1] = true; if (isValidValue(fields()[2], other.taskType)) { this.taskType = data().deepCopy(fields()[2].schema(), other.taskType); fieldSetFlags()[2] = true; if (isValidValue(fields()[3], other.taskStatus)) { this.taskStatus = data().deepCopy(fields()[3].schema(), other.taskStatus); fieldSetFlags()[3] = true; if (isValidValue(fields()[4], other.mapFinishTime)) { this.mapFinishTime = data().deepCopy(fields()[4].schema(), other.mapFinishTime); fieldSetFlags()[4] = true; if (isValidValue(fields()[5], other.finishTime)) { this.finishTime = data().deepCopy(fields()[5].schema(), other.finishTime); fieldSetFlags()[5] = true; if (isValidValue(fields()[6], other.hostname)) { this.hostname = data().deepCopy(fields()[6].schema(), other.hostname); fieldSetFlags()[6] = true; if (isValidValue(fields()[7], other.port)) {
if (isValidValue(fields()[0], other.taskid)) { this.taskid = data().deepCopy(fields()[0].schema(), other.taskid); fieldSetFlags()[0] = true; if (isValidValue(fields()[1], other.attemptId)) { this.attemptId = data().deepCopy(fields()[1].schema(), other.attemptId); fieldSetFlags()[1] = true; if (isValidValue(fields()[2], other.taskType)) { this.taskType = data().deepCopy(fields()[2].schema(), other.taskType); fieldSetFlags()[2] = true; if (isValidValue(fields()[3], other.taskStatus)) { this.taskStatus = data().deepCopy(fields()[3].schema(), other.taskStatus); fieldSetFlags()[3] = true; if (isValidValue(fields()[4], other.mapFinishTime)) { this.mapFinishTime = data().deepCopy(fields()[4].schema(), other.mapFinishTime); fieldSetFlags()[4] = true; if (isValidValue(fields()[5], other.finishTime)) { this.finishTime = data().deepCopy(fields()[5].schema(), other.finishTime); fieldSetFlags()[5] = true; if (isValidValue(fields()[6], other.hostname)) { this.hostname = data().deepCopy(fields()[6].schema(), other.hostname); fieldSetFlags()[6] = true; if (isValidValue(fields()[7], other.port)) {
if (isValidValue(fields()[0], other.taskid)) { this.taskid = data().deepCopy(fields()[0].schema(), other.taskid); fieldSetFlags()[0] = true; if (isValidValue(fields()[1], other.attemptId)) { this.attemptId = data().deepCopy(fields()[1].schema(), other.attemptId); fieldSetFlags()[1] = true; if (isValidValue(fields()[2], other.taskType)) { this.taskType = data().deepCopy(fields()[2].schema(), other.taskType); fieldSetFlags()[2] = true; if (isValidValue(fields()[3], other.taskStatus)) { this.taskStatus = data().deepCopy(fields()[3].schema(), other.taskStatus); fieldSetFlags()[3] = true; if (isValidValue(fields()[4], other.mapFinishTime)) { this.mapFinishTime = data().deepCopy(fields()[4].schema(), other.mapFinishTime); fieldSetFlags()[4] = true; if (isValidValue(fields()[5], other.finishTime)) { this.finishTime = data().deepCopy(fields()[5].schema(), other.finishTime); fieldSetFlags()[5] = true; if (isValidValue(fields()[6], other.hostname)) { this.hostname = data().deepCopy(fields()[6].schema(), other.hostname); fieldSetFlags()[6] = true; if (isValidValue(fields()[7], other.port)) {
@Override public MapAttemptFinished build() { try { MapAttemptFinished record = new MapAttemptFinished(); record.taskid = fieldSetFlags()[0] ? this.taskid : (java.lang.CharSequence) defaultValue(fields()[0]); record.attemptId = fieldSetFlags()[1] ? this.attemptId : (java.lang.CharSequence) defaultValue(fields()[1]); record.taskType = fieldSetFlags()[2] ? this.taskType : (java.lang.CharSequence) defaultValue(fields()[2]); record.taskStatus = fieldSetFlags()[3] ? this.taskStatus : (java.lang.CharSequence) defaultValue(fields()[3]); record.mapFinishTime = fieldSetFlags()[4] ? this.mapFinishTime : (java.lang.Long) defaultValue(fields()[4]); record.finishTime = fieldSetFlags()[5] ? this.finishTime : (java.lang.Long) defaultValue(fields()[5]); record.hostname = fieldSetFlags()[6] ? this.hostname : (java.lang.CharSequence) defaultValue(fields()[6]); record.port = fieldSetFlags()[7] ? this.port : (java.lang.Integer) defaultValue(fields()[7]); record.rackname = fieldSetFlags()[8] ? this.rackname : (java.lang.CharSequence) defaultValue(fields()[8]); record.state = fieldSetFlags()[9] ? this.state : (java.lang.CharSequence) defaultValue(fields()[9]); record.counters = fieldSetFlags()[10] ? this.counters : (org.apache.hadoop.mapreduce.jobhistory.JhCounters) defaultValue(fields()[10]); record.clockSplits = fieldSetFlags()[11] ? this.clockSplits : (java.util.List<java.lang.Integer>) defaultValue(fields()[11]); record.cpuUsages = fieldSetFlags()[12] ? this.cpuUsages : (java.util.List<java.lang.Integer>) defaultValue(fields()[12]); record.vMemKbytes = fieldSetFlags()[13] ? this.vMemKbytes : (java.util.List<java.lang.Integer>) defaultValue(fields()[13]); record.physMemKbytes = fieldSetFlags()[14] ? this.physMemKbytes : (java.util.List<java.lang.Integer>) defaultValue(fields()[14]); return record; } catch (Exception e) { throw new io.prestosql.hadoop.$internal.org.apache.avro.AvroRuntimeException(e); } } }
@Override public MapAttemptFinished build() { try { MapAttemptFinished record = new MapAttemptFinished(); record.taskid = fieldSetFlags()[0] ? this.taskid : (java.lang.CharSequence) defaultValue(fields()[0]); record.attemptId = fieldSetFlags()[1] ? this.attemptId : (java.lang.CharSequence) defaultValue(fields()[1]); record.taskType = fieldSetFlags()[2] ? this.taskType : (java.lang.CharSequence) defaultValue(fields()[2]); record.taskStatus = fieldSetFlags()[3] ? this.taskStatus : (java.lang.CharSequence) defaultValue(fields()[3]); record.mapFinishTime = fieldSetFlags()[4] ? this.mapFinishTime : (java.lang.Long) defaultValue(fields()[4]); record.finishTime = fieldSetFlags()[5] ? this.finishTime : (java.lang.Long) defaultValue(fields()[5]); record.hostname = fieldSetFlags()[6] ? this.hostname : (java.lang.CharSequence) defaultValue(fields()[6]); record.port = fieldSetFlags()[7] ? this.port : (java.lang.Integer) defaultValue(fields()[7]); record.rackname = fieldSetFlags()[8] ? this.rackname : (java.lang.CharSequence) defaultValue(fields()[8]); record.state = fieldSetFlags()[9] ? this.state : (java.lang.CharSequence) defaultValue(fields()[9]); record.counters = fieldSetFlags()[10] ? this.counters : (org.apache.hadoop.mapreduce.jobhistory.JhCounters) defaultValue(fields()[10]); record.clockSplits = fieldSetFlags()[11] ? this.clockSplits : (java.util.List<java.lang.Integer>) defaultValue(fields()[11]); record.cpuUsages = fieldSetFlags()[12] ? this.cpuUsages : (java.util.List<java.lang.Integer>) defaultValue(fields()[12]); record.vMemKbytes = fieldSetFlags()[13] ? this.vMemKbytes : (java.util.List<java.lang.Integer>) defaultValue(fields()[13]); record.physMemKbytes = fieldSetFlags()[14] ? this.physMemKbytes : (java.util.List<java.lang.Integer>) defaultValue(fields()[14]); return record; } catch (Exception e) { throw new org.apache.avro.AvroRuntimeException(e); } } }
@Override public MapAttemptFinished build() { try { MapAttemptFinished record = new MapAttemptFinished(); record.taskid = fieldSetFlags()[0] ? this.taskid : (java.lang.CharSequence) defaultValue(fields()[0]); record.attemptId = fieldSetFlags()[1] ? this.attemptId : (java.lang.CharSequence) defaultValue(fields()[1]); record.taskType = fieldSetFlags()[2] ? this.taskType : (java.lang.CharSequence) defaultValue(fields()[2]); record.taskStatus = fieldSetFlags()[3] ? this.taskStatus : (java.lang.CharSequence) defaultValue(fields()[3]); record.mapFinishTime = fieldSetFlags()[4] ? this.mapFinishTime : (java.lang.Long) defaultValue(fields()[4]); record.finishTime = fieldSetFlags()[5] ? this.finishTime : (java.lang.Long) defaultValue(fields()[5]); record.hostname = fieldSetFlags()[6] ? this.hostname : (java.lang.CharSequence) defaultValue(fields()[6]); record.port = fieldSetFlags()[7] ? this.port : (java.lang.Integer) defaultValue(fields()[7]); record.rackname = fieldSetFlags()[8] ? this.rackname : (java.lang.CharSequence) defaultValue(fields()[8]); record.state = fieldSetFlags()[9] ? this.state : (java.lang.CharSequence) defaultValue(fields()[9]); record.counters = fieldSetFlags()[10] ? this.counters : (org.apache.hadoop.mapreduce.jobhistory.JhCounters) defaultValue(fields()[10]); record.clockSplits = fieldSetFlags()[11] ? this.clockSplits : (java.util.List<java.lang.Integer>) defaultValue(fields()[11]); record.cpuUsages = fieldSetFlags()[12] ? this.cpuUsages : (java.util.List<java.lang.Integer>) defaultValue(fields()[12]); record.vMemKbytes = fieldSetFlags()[13] ? this.vMemKbytes : (java.util.List<java.lang.Integer>) defaultValue(fields()[13]); record.physMemKbytes = fieldSetFlags()[14] ? this.physMemKbytes : (java.util.List<java.lang.Integer>) defaultValue(fields()[14]); return record; } catch (Exception e) { throw new org.apache.avro.AvroRuntimeException(e); } } }
/** Creates a new MapAttemptFinished RecordBuilder */ public static org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder newBuilder() { return new org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder(); }
/** Creates a new MapAttemptFinished RecordBuilder by copying an existing MapAttemptFinished instance */ public static org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished other) { return new org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder(other); }
/** Creates a new MapAttemptFinished RecordBuilder by copying an existing Builder */ public static org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder other) { return new org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder(other); }
/** Creates a new MapAttemptFinished RecordBuilder by copying an existing MapAttemptFinished instance */ public static org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished other) { return new org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder(other); }
/** Creates a new MapAttemptFinished RecordBuilder by copying an existing Builder */ public static org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder other) { return new org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder(other); }
/** Creates a new MapAttemptFinished RecordBuilder by copying an existing Builder */ public static org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder other) { return new org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder(other); }
/** Creates a new MapAttemptFinished RecordBuilder */ public static org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder newBuilder() { return new org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder(); }
/** Creates a new MapAttemptFinished RecordBuilder */ public static org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder newBuilder() { return new org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder(); }
/** Creates a new MapAttemptFinished RecordBuilder by copying an existing MapAttemptFinished instance */ public static org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished other) { return new org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder(other); }
/** Creates a new MapAttemptFinished RecordBuilder */ public static org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder newBuilder() { return new org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder(); }
/** Creates a new MapAttemptFinished RecordBuilder by copying an existing MapAttemptFinished instance */ public static org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished other) { return new org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder(other); }
/** Creates a new MapAttemptFinished RecordBuilder by copying an existing Builder */ public static org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder other) { return new org.apache.hadoop.mapreduce.jobhistory.MapAttemptFinished.Builder(other); }