use of org.apache.commons.lang.builder.HashCodeBuilder in project brisk by riptano.
the class ThriftJobQueueList method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_queues = true && (isSetQueues());
builder.append(present_queues);
if (present_queues)
builder.append(queues);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project brisk by riptano.
the class ThriftJobStatus method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_jobID = true && (isSetJobID());
builder.append(present_jobID);
if (present_jobID)
builder.append(jobID);
boolean present_mapProgress = true;
builder.append(present_mapProgress);
if (present_mapProgress)
builder.append(mapProgress);
boolean present_reduceProgress = true;
builder.append(present_reduceProgress);
if (present_reduceProgress)
builder.append(reduceProgress);
boolean present_cleanupProgress = true;
builder.append(present_cleanupProgress);
if (present_cleanupProgress)
builder.append(cleanupProgress);
boolean present_setupProgress = true;
builder.append(present_setupProgress);
if (present_setupProgress)
builder.append(setupProgress);
boolean present_runState = true && (isSetRunState());
builder.append(present_runState);
if (present_runState)
builder.append(runState.getValue());
boolean present_startTime = true;
builder.append(present_startTime);
if (present_startTime)
builder.append(startTime);
boolean present_user = true && (isSetUser());
builder.append(present_user);
if (present_user)
builder.append(user);
boolean present_priority = true && (isSetPriority());
builder.append(present_priority);
if (present_priority)
builder.append(priority.getValue());
boolean present_schedulingInfo = true && (isSetSchedulingInfo());
builder.append(present_schedulingInfo);
if (present_schedulingInfo)
builder.append(schedulingInfo);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project brisk by riptano.
the class ThriftTaskAttemptID method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_taskID = true && (isSetTaskID());
builder.append(present_taskID);
if (present_taskID)
builder.append(taskID);
boolean present_attemptID = true;
builder.append(present_attemptID);
if (present_attemptID)
builder.append(attemptID);
boolean present_asString = true && (isSetAsString());
builder.append(present_asString);
if (present_asString)
builder.append(asString);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project brisk by riptano.
the class ThriftTaskInProgressList method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_tasks = true && (isSetTasks());
builder.append(present_tasks);
if (present_tasks)
builder.append(tasks);
boolean present_numTotalTasks = true;
builder.append(present_numTotalTasks);
if (present_numTotalTasks)
builder.append(numTotalTasks);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project brisk by riptano.
the class MetricsRecord method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_tags = true && (isSetTags());
builder.append(present_tags);
if (present_tags)
builder.append(tags);
boolean present_metrics = true && (isSetMetrics());
builder.append(present_metrics);
if (present_metrics)
builder.append(metrics);
return builder.toHashCode();
}
Aggregations