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.finishTime)) { this.finishTime = data().deepCopy(fields()[4].schema(), other.finishTime); fieldSetFlags()[4] = true; if (isValidValue(fields()[5], other.rackname)) { this.rackname = data().deepCopy(fields()[5].schema(), other.rackname); 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.state)) {
@Override public TaskAttemptFinished build() { try { TaskAttemptFinished record = new TaskAttemptFinished(); 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.finishTime = fieldSetFlags()[4] ? this.finishTime : (java.lang.Long) defaultValue(fields()[4]); record.rackname = fieldSetFlags()[5] ? this.rackname : (java.lang.CharSequence) defaultValue(fields()[5]); record.hostname = fieldSetFlags()[6] ? this.hostname : (java.lang.CharSequence) defaultValue(fields()[6]); record.state = fieldSetFlags()[7] ? this.state : (java.lang.CharSequence) defaultValue(fields()[7]); record.counters = fieldSetFlags()[8] ? this.counters : (org.apache.hadoop.mapreduce.jobhistory.JhCounters) defaultValue(fields()[8]); 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.finishTime)) { this.finishTime = data().deepCopy(fields()[4].schema(), other.finishTime); fieldSetFlags()[4] = true; if (isValidValue(fields()[5], other.rackname)) { this.rackname = data().deepCopy(fields()[5].schema(), other.rackname); 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.state)) {
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.finishTime)) { this.finishTime = data().deepCopy(fields()[4].schema(), other.finishTime); fieldSetFlags()[4] = true; if (isValidValue(fields()[5], other.rackname)) { this.rackname = data().deepCopy(fields()[5].schema(), other.rackname); 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.state)) {
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.finishTime)) { this.finishTime = data().deepCopy(fields()[4].schema(), other.finishTime); fieldSetFlags()[4] = true; if (isValidValue(fields()[5], other.rackname)) { this.rackname = data().deepCopy(fields()[5].schema(), other.rackname); 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.state)) {
@Override public TaskAttemptFinished build() { try { TaskAttemptFinished record = new TaskAttemptFinished(); 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.finishTime = fieldSetFlags()[4] ? this.finishTime : (java.lang.Long) defaultValue(fields()[4]); record.rackname = fieldSetFlags()[5] ? this.rackname : (java.lang.CharSequence) defaultValue(fields()[5]); record.hostname = fieldSetFlags()[6] ? this.hostname : (java.lang.CharSequence) defaultValue(fields()[6]); record.state = fieldSetFlags()[7] ? this.state : (java.lang.CharSequence) defaultValue(fields()[7]); record.counters = fieldSetFlags()[8] ? this.counters : (org.apache.hadoop.mapreduce.jobhistory.JhCounters) defaultValue(fields()[8]); return record; } catch (Exception e) { throw new io.prestosql.hadoop.$internal.org.apache.avro.AvroRuntimeException(e); } } }
@Override public TaskAttemptFinished build() { try { TaskAttemptFinished record = new TaskAttemptFinished(); 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.finishTime = fieldSetFlags()[4] ? this.finishTime : (java.lang.Long) defaultValue(fields()[4]); record.rackname = fieldSetFlags()[5] ? this.rackname : (java.lang.CharSequence) defaultValue(fields()[5]); record.hostname = fieldSetFlags()[6] ? this.hostname : (java.lang.CharSequence) defaultValue(fields()[6]); record.state = fieldSetFlags()[7] ? this.state : (java.lang.CharSequence) defaultValue(fields()[7]); record.counters = fieldSetFlags()[8] ? this.counters : (org.apache.hadoop.mapreduce.jobhistory.JhCounters) defaultValue(fields()[8]); return record; } catch (Exception e) { throw new org.apache.avro.AvroRuntimeException(e); } } }
@Override public TaskAttemptFinished build() { try { TaskAttemptFinished record = new TaskAttemptFinished(); 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.finishTime = fieldSetFlags()[4] ? this.finishTime : (java.lang.Long) defaultValue(fields()[4]); record.rackname = fieldSetFlags()[5] ? this.rackname : (java.lang.CharSequence) defaultValue(fields()[5]); record.hostname = fieldSetFlags()[6] ? this.hostname : (java.lang.CharSequence) defaultValue(fields()[6]); record.state = fieldSetFlags()[7] ? this.state : (java.lang.CharSequence) defaultValue(fields()[7]); record.counters = fieldSetFlags()[8] ? this.counters : (org.apache.hadoop.mapreduce.jobhistory.JhCounters) defaultValue(fields()[8]); return record; } catch (Exception e) { throw new org.apache.avro.AvroRuntimeException(e); } } }
/** Creates a new TaskAttemptFinished RecordBuilder by copying an existing TaskAttemptFinished instance */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished other) { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder(other); }
/** Creates a new TaskAttemptFinished RecordBuilder by copying an existing Builder */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder other) { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder(other); }
/** Creates a new TaskAttemptFinished RecordBuilder by copying an existing TaskAttemptFinished instance */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished other) { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder(other); }
/** Creates a new TaskAttemptFinished RecordBuilder */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder newBuilder() { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder(); }
/** Creates a new TaskAttemptFinished RecordBuilder */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder newBuilder() { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder(); }
/** Creates a new TaskAttemptFinished RecordBuilder by copying an existing TaskAttemptFinished instance */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished other) { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder(other); }
/** Checks whether the 'hostname' field has been set */ public boolean hasHostname() { return fieldSetFlags()[6]; }
/** Checks whether the 'rackname' field has been set */ public boolean hasRackname() { return fieldSetFlags()[5]; }
/** Creates a new TaskAttemptFinished RecordBuilder by copying an existing Builder */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder other) { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder(other); }
/** Creates a new TaskAttemptFinished RecordBuilder */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder newBuilder() { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder(); }
/** Creates a new TaskAttemptFinished RecordBuilder by copying an existing Builder */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder other) { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder(other); }
/** Checks whether the 'taskStatus' field has been set */ public boolean hasTaskStatus() { return fieldSetFlags()[3]; }