@Override
  public int hashCode() {
    int hashCode = 1;

    hashCode = hashCode * 8191 + ((isSetNodeType()) ? 131071 : 524287);
    if (isSetNodeType())
      hashCode = hashCode * 8191 + nodeType.getValue();

    hashCode = hashCode * 8191 + ((isSetRoots()) ? 131071 : 524287);
    if (isSetRoots())
      hashCode = hashCode * 8191 + roots.hashCode();

    hashCode = hashCode * 8191 + ((isSetAdjacencyList()) ? 131071 : 524287);
    if (isSetAdjacencyList())
      hashCode = hashCode * 8191 + adjacencyList.hashCode();

    return hashCode;
  }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java