hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r1353720 [3/3] - in /hive/trunk: ./ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/ serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serd...
Date Mon, 25 Jun 2012 19:59:48 GMT
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java?rev=1353720&r1=1353719&r2=1353720&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java
(original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java
Mon Jun 25 19:59:44 2012
@@ -5,6 +5,7 @@
  */
 package org.apache.hadoop.hive.metastore.api;
 
+import org.apache.commons.lang.builder.HashCodeBuilder;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -397,7 +398,29 @@ public class Type implements org.apache.
 
   @Override
   public int hashCode() {
-    return 0;
+    HashCodeBuilder builder = new HashCodeBuilder();
+
+    boolean present_name = true && (isSetName());
+    builder.append(present_name);
+    if (present_name)
+      builder.append(name);
+
+    boolean present_type1 = true && (isSetType1());
+    builder.append(present_type1);
+    if (present_type1)
+      builder.append(type1);
+
+    boolean present_type2 = true && (isSetType2());
+    builder.append(present_type2);
+    if (present_type2)
+      builder.append(type2);
+
+    boolean present_fields = true && (isSetFields());
+    builder.append(present_fields);
+    if (present_fields)
+      builder.append(fields);
+
+    return builder.toHashCode();
   }
 
   public int compareTo(Type other) {

Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java?rev=1353720&r1=1353719&r2=1353720&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java
(original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java
Mon Jun 25 19:59:44 2012
@@ -5,6 +5,7 @@
  */
 package org.apache.hadoop.hive.metastore.api;
 
+import org.apache.commons.lang.builder.HashCodeBuilder;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -209,7 +210,14 @@ public class UnknownDBException extends 
 
   @Override
   public int hashCode() {
-    return 0;
+    HashCodeBuilder builder = new HashCodeBuilder();
+
+    boolean present_message = true && (isSetMessage());
+    builder.append(present_message);
+    if (present_message)
+      builder.append(message);
+
+    return builder.toHashCode();
   }
 
   public int compareTo(UnknownDBException other) {

Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java?rev=1353720&r1=1353719&r2=1353720&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java
(original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java
Mon Jun 25 19:59:44 2012
@@ -5,6 +5,7 @@
  */
 package org.apache.hadoop.hive.metastore.api;
 
+import org.apache.commons.lang.builder.HashCodeBuilder;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -209,7 +210,14 @@ public class UnknownPartitionException e
 
   @Override
   public int hashCode() {
-    return 0;
+    HashCodeBuilder builder = new HashCodeBuilder();
+
+    boolean present_message = true && (isSetMessage());
+    builder.append(present_message);
+    if (present_message)
+      builder.append(message);
+
+    return builder.toHashCode();
   }
 
   public int compareTo(UnknownPartitionException other) {

Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java?rev=1353720&r1=1353719&r2=1353720&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java
(original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java
Mon Jun 25 19:59:44 2012
@@ -5,6 +5,7 @@
  */
 package org.apache.hadoop.hive.metastore.api;
 
+import org.apache.commons.lang.builder.HashCodeBuilder;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -209,7 +210,14 @@ public class UnknownTableException exten
 
   @Override
   public int hashCode() {
-    return 0;
+    HashCodeBuilder builder = new HashCodeBuilder();
+
+    boolean present_message = true && (isSetMessage());
+    builder.append(present_message);
+    if (present_message)
+      builder.append(message);
+
+    return builder.toHashCode();
   }
 
   public int compareTo(UnknownTableException other) {

Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java?rev=1353720&r1=1353719&r2=1353720&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java
(original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java
Mon Jun 25 19:59:44 2012
@@ -5,6 +5,7 @@
  */
 package org.apache.hadoop.hive.metastore.api;
 
+import org.apache.commons.lang.builder.HashCodeBuilder;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -267,7 +268,19 @@ public class Version implements org.apac
 
   @Override
   public int hashCode() {
-    return 0;
+    HashCodeBuilder builder = new HashCodeBuilder();
+
+    boolean present_version = true && (isSetVersion());
+    builder.append(present_version);
+    if (present_version)
+      builder.append(version);
+
+    boolean present_comments = true && (isSetComments());
+    builder.append(present_comments);
+    if (present_comments)
+      builder.append(comments);
+
+    return builder.toHashCode();
   }
 
   public int compareTo(Version other) {

Modified: hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Adjacency.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Adjacency.java?rev=1353720&r1=1353719&r2=1353720&view=diff
==============================================================================
--- hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Adjacency.java
(original)
+++ hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Adjacency.java
Mon Jun 25 19:59:44 2012
@@ -5,6 +5,7 @@
  */
 package org.apache.hadoop.hive.ql.plan.api;
 
+import org.apache.commons.lang.builder.HashCodeBuilder;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -357,7 +358,24 @@ public class Adjacency implements org.ap
 
   @Override
   public int hashCode() {
-    return 0;
+    HashCodeBuilder builder = new HashCodeBuilder();
+
+    boolean present_node = true && (isSetNode());
+    builder.append(present_node);
+    if (present_node)
+      builder.append(node);
+
+    boolean present_children = true && (isSetChildren());
+    builder.append(present_children);
+    if (present_children)
+      builder.append(children);
+
+    boolean present_adjacencyType = true && (isSetAdjacencyType());
+    builder.append(present_adjacencyType);
+    if (present_adjacencyType)
+      builder.append(adjacencyType.getValue());
+
+    return builder.toHashCode();
   }
 
   public int compareTo(Adjacency other) {

Modified: hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java?rev=1353720&r1=1353719&r2=1353720&view=diff
==============================================================================
--- hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java
(original)
+++ hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java
Mon Jun 25 19:59:44 2012
@@ -5,6 +5,7 @@
  */
 package org.apache.hadoop.hive.ql.plan.api;
 
+import org.apache.commons.lang.builder.HashCodeBuilder;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -377,7 +378,24 @@ public class Graph implements org.apache
 
   @Override
   public int hashCode() {
-    return 0;
+    HashCodeBuilder builder = new HashCodeBuilder();
+
+    boolean present_nodeType = true && (isSetNodeType());
+    builder.append(present_nodeType);
+    if (present_nodeType)
+      builder.append(nodeType.getValue());
+
+    boolean present_roots = true && (isSetRoots());
+    builder.append(present_roots);
+    if (present_roots)
+      builder.append(roots);
+
+    boolean present_adjacencyList = true && (isSetAdjacencyList());
+    builder.append(present_adjacencyList);
+    if (present_adjacencyList)
+      builder.append(adjacencyList);
+
+    return builder.toHashCode();
   }
 
   public int compareTo(Graph other) {

Modified: hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Operator.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Operator.java?rev=1353720&r1=1353719&r2=1353720&view=diff
==============================================================================
--- hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Operator.java
(original)
+++ hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Operator.java
Mon Jun 25 19:59:44 2012
@@ -5,6 +5,7 @@
  */
 package org.apache.hadoop.hive.ql.plan.api;
 
+import org.apache.commons.lang.builder.HashCodeBuilder;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -564,7 +565,39 @@ public class Operator implements org.apa
 
   @Override
   public int hashCode() {
-    return 0;
+    HashCodeBuilder builder = new HashCodeBuilder();
+
+    boolean present_operatorId = true && (isSetOperatorId());
+    builder.append(present_operatorId);
+    if (present_operatorId)
+      builder.append(operatorId);
+
+    boolean present_operatorType = true && (isSetOperatorType());
+    builder.append(present_operatorType);
+    if (present_operatorType)
+      builder.append(operatorType.getValue());
+
+    boolean present_operatorAttributes = true && (isSetOperatorAttributes());
+    builder.append(present_operatorAttributes);
+    if (present_operatorAttributes)
+      builder.append(operatorAttributes);
+
+    boolean present_operatorCounters = true && (isSetOperatorCounters());
+    builder.append(present_operatorCounters);
+    if (present_operatorCounters)
+      builder.append(operatorCounters);
+
+    boolean present_done = true;
+    builder.append(present_done);
+    if (present_done)
+      builder.append(done);
+
+    boolean present_started = true;
+    builder.append(present_started);
+    if (present_started)
+      builder.append(started);
+
+    return builder.toHashCode();
   }
 
   public int compareTo(Operator other) {

Modified: hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java?rev=1353720&r1=1353719&r2=1353720&view=diff
==============================================================================
--- hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java
(original)
+++ hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java
Mon Jun 25 19:59:44 2012
@@ -5,6 +5,7 @@
  */
 package org.apache.hadoop.hive.ql.plan.api;
 
+import org.apache.commons.lang.builder.HashCodeBuilder;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -688,7 +689,49 @@ public class Query implements org.apache
 
   @Override
   public int hashCode() {
-    return 0;
+    HashCodeBuilder builder = new HashCodeBuilder();
+
+    boolean present_queryId = true && (isSetQueryId());
+    builder.append(present_queryId);
+    if (present_queryId)
+      builder.append(queryId);
+
+    boolean present_queryType = true && (isSetQueryType());
+    builder.append(present_queryType);
+    if (present_queryType)
+      builder.append(queryType);
+
+    boolean present_queryAttributes = true && (isSetQueryAttributes());
+    builder.append(present_queryAttributes);
+    if (present_queryAttributes)
+      builder.append(queryAttributes);
+
+    boolean present_queryCounters = true && (isSetQueryCounters());
+    builder.append(present_queryCounters);
+    if (present_queryCounters)
+      builder.append(queryCounters);
+
+    boolean present_stageGraph = true && (isSetStageGraph());
+    builder.append(present_stageGraph);
+    if (present_stageGraph)
+      builder.append(stageGraph);
+
+    boolean present_stageList = true && (isSetStageList());
+    builder.append(present_stageList);
+    if (present_stageList)
+      builder.append(stageList);
+
+    boolean present_done = true;
+    builder.append(present_done);
+    if (present_done)
+      builder.append(done);
+
+    boolean present_started = true;
+    builder.append(present_started);
+    if (present_started)
+      builder.append(started);
+
+    return builder.toHashCode();
   }
 
   public int compareTo(Query other) {

Modified: hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/QueryPlan.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/QueryPlan.java?rev=1353720&r1=1353719&r2=1353720&view=diff
==============================================================================
--- hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/QueryPlan.java
(original)
+++ hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/QueryPlan.java
Mon Jun 25 19:59:44 2012
@@ -5,6 +5,7 @@
  */
 package org.apache.hadoop.hive.ql.plan.api;
 
+import org.apache.commons.lang.builder.HashCodeBuilder;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -348,7 +349,24 @@ public class QueryPlan implements org.ap
 
   @Override
   public int hashCode() {
-    return 0;
+    HashCodeBuilder builder = new HashCodeBuilder();
+
+    boolean present_queries = true && (isSetQueries());
+    builder.append(present_queries);
+    if (present_queries)
+      builder.append(queries);
+
+    boolean present_done = true;
+    builder.append(present_done);
+    if (present_done)
+      builder.append(done);
+
+    boolean present_started = true;
+    builder.append(present_started);
+    if (present_started)
+      builder.append(started);
+
+    return builder.toHashCode();
   }
 
   public int compareTo(QueryPlan other) {

Modified: hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java?rev=1353720&r1=1353719&r2=1353720&view=diff
==============================================================================
--- hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java
(original)
+++ hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java
Mon Jun 25 19:59:44 2012
@@ -5,6 +5,7 @@
  */
 package org.apache.hadoop.hive.ql.plan.api;
 
+import org.apache.commons.lang.builder.HashCodeBuilder;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -642,7 +643,44 @@ public class Stage implements org.apache
 
   @Override
   public int hashCode() {
-    return 0;
+    HashCodeBuilder builder = new HashCodeBuilder();
+
+    boolean present_stageId = true && (isSetStageId());
+    builder.append(present_stageId);
+    if (present_stageId)
+      builder.append(stageId);
+
+    boolean present_stageType = true && (isSetStageType());
+    builder.append(present_stageType);
+    if (present_stageType)
+      builder.append(stageType.getValue());
+
+    boolean present_stageAttributes = true && (isSetStageAttributes());
+    builder.append(present_stageAttributes);
+    if (present_stageAttributes)
+      builder.append(stageAttributes);
+
+    boolean present_stageCounters = true && (isSetStageCounters());
+    builder.append(present_stageCounters);
+    if (present_stageCounters)
+      builder.append(stageCounters);
+
+    boolean present_taskList = true && (isSetTaskList());
+    builder.append(present_taskList);
+    if (present_taskList)
+      builder.append(taskList);
+
+    boolean present_done = true;
+    builder.append(present_done);
+    if (present_done)
+      builder.append(done);
+
+    boolean present_started = true;
+    builder.append(present_started);
+    if (present_started)
+      builder.append(started);
+
+    return builder.toHashCode();
   }
 
   public int compareTo(Stage other) {

Modified: hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java?rev=1353720&r1=1353719&r2=1353720&view=diff
==============================================================================
--- hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java
(original)
+++ hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java
Mon Jun 25 19:59:44 2012
@@ -5,6 +5,7 @@
  */
 package org.apache.hadoop.hive.ql.plan.api;
 
+import org.apache.commons.lang.builder.HashCodeBuilder;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -696,7 +697,49 @@ public class Task implements org.apache.
 
   @Override
   public int hashCode() {
-    return 0;
+    HashCodeBuilder builder = new HashCodeBuilder();
+
+    boolean present_taskId = true && (isSetTaskId());
+    builder.append(present_taskId);
+    if (present_taskId)
+      builder.append(taskId);
+
+    boolean present_taskType = true && (isSetTaskType());
+    builder.append(present_taskType);
+    if (present_taskType)
+      builder.append(taskType.getValue());
+
+    boolean present_taskAttributes = true && (isSetTaskAttributes());
+    builder.append(present_taskAttributes);
+    if (present_taskAttributes)
+      builder.append(taskAttributes);
+
+    boolean present_taskCounters = true && (isSetTaskCounters());
+    builder.append(present_taskCounters);
+    if (present_taskCounters)
+      builder.append(taskCounters);
+
+    boolean present_operatorGraph = true && (isSetOperatorGraph());
+    builder.append(present_operatorGraph);
+    if (present_operatorGraph)
+      builder.append(operatorGraph);
+
+    boolean present_operatorList = true && (isSetOperatorList());
+    builder.append(present_operatorList);
+    if (present_operatorList)
+      builder.append(operatorList);
+
+    boolean present_done = true;
+    builder.append(present_done);
+    if (present_done)
+      builder.append(done);
+
+    boolean present_started = true;
+    builder.append(present_started);
+    if (present_started)
+      builder.append(started);
+
+    return builder.toHashCode();
   }
 
   public int compareTo(Task other) {

Modified: hive/trunk/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/Constants.java
URL: http://svn.apache.org/viewvc/hive/trunk/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/Constants.java?rev=1353720&r1=1353719&r2=1353720&view=diff
==============================================================================
--- hive/trunk/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/Constants.java
(original)
+++ hive/trunk/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/Constants.java
Mon Jun 25 19:59:44 2012
@@ -5,6 +5,7 @@
  */
 package org.apache.hadoop.hive.serde;
 
+import org.apache.commons.lang.builder.HashCodeBuilder;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;

Modified: hive/trunk/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java
URL: http://svn.apache.org/viewvc/hive/trunk/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java?rev=1353720&r1=1353719&r2=1353720&view=diff
==============================================================================
--- hive/trunk/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java
(original)
+++ hive/trunk/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java
Mon Jun 25 19:59:44 2012
@@ -5,6 +5,7 @@
  */
 package org.apache.hadoop.hive.service;
 
+import org.apache.commons.lang.builder.HashCodeBuilder;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -514,7 +515,39 @@ public class HiveClusterStatus implement
 
   @Override
   public int hashCode() {
-    return 0;
+    HashCodeBuilder builder = new HashCodeBuilder();
+
+    boolean present_taskTrackers = true;
+    builder.append(present_taskTrackers);
+    if (present_taskTrackers)
+      builder.append(taskTrackers);
+
+    boolean present_mapTasks = true;
+    builder.append(present_mapTasks);
+    if (present_mapTasks)
+      builder.append(mapTasks);
+
+    boolean present_reduceTasks = true;
+    builder.append(present_reduceTasks);
+    if (present_reduceTasks)
+      builder.append(reduceTasks);
+
+    boolean present_maxMapTasks = true;
+    builder.append(present_maxMapTasks);
+    if (present_maxMapTasks)
+      builder.append(maxMapTasks);
+
+    boolean present_maxReduceTasks = true;
+    builder.append(present_maxReduceTasks);
+    if (present_maxReduceTasks)
+      builder.append(maxReduceTasks);
+
+    boolean present_state = true && (isSetState());
+    builder.append(present_state);
+    if (present_state)
+      builder.append(state.getValue());
+
+    return builder.toHashCode();
   }
 
   public int compareTo(HiveClusterStatus other) {

Modified: hive/trunk/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java
URL: http://svn.apache.org/viewvc/hive/trunk/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java?rev=1353720&r1=1353719&r2=1353720&view=diff
==============================================================================
--- hive/trunk/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java
(original)
+++ hive/trunk/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java
Mon Jun 25 19:59:44 2012
@@ -5,6 +5,7 @@
  */
 package org.apache.hadoop.hive.service;
 
+import org.apache.commons.lang.builder.HashCodeBuilder;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -328,7 +329,24 @@ public class HiveServerException extends
 
   @Override
   public int hashCode() {
-    return 0;
+    HashCodeBuilder builder = new HashCodeBuilder();
+
+    boolean present_message = true && (isSetMessage());
+    builder.append(present_message);
+    if (present_message)
+      builder.append(message);
+
+    boolean present_errorCode = true;
+    builder.append(present_errorCode);
+    if (present_errorCode)
+      builder.append(errorCode);
+
+    boolean present_SQLState = true && (isSetSQLState());
+    builder.append(present_SQLState);
+    if (present_SQLState)
+      builder.append(SQLState);
+
+    return builder.toHashCode();
   }
 
   public int compareTo(HiveServerException other) {

Modified: hive/trunk/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java
URL: http://svn.apache.org/viewvc/hive/trunk/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java?rev=1353720&r1=1353719&r2=1353720&view=diff
==============================================================================
--- hive/trunk/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java
(original)
+++ hive/trunk/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java
Mon Jun 25 19:59:44 2012
@@ -5,6 +5,7 @@
  */
 package org.apache.hadoop.hive.service;
 
+import org.apache.commons.lang.builder.HashCodeBuilder;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -981,7 +982,14 @@ public class ThriftHive {
 
     @Override
     public int hashCode() {
-      return 0;
+      HashCodeBuilder builder = new HashCodeBuilder();
+
+      boolean present_query = true && (isSetQuery());
+      builder.append(present_query);
+      if (present_query)
+        builder.append(query);
+
+      return builder.toHashCode();
     }
 
     public int compareTo(execute_args other) {
@@ -1275,7 +1283,14 @@ public class ThriftHive {
 
     @Override
     public int hashCode() {
-      return 0;
+      HashCodeBuilder builder = new HashCodeBuilder();
+
+      boolean present_ex = true && (isSetEx());
+      builder.append(present_ex);
+      if (present_ex)
+        builder.append(ex);
+
+      return builder.toHashCode();
     }
 
     public int compareTo(execute_result other) {
@@ -1504,7 +1519,9 @@ public class ThriftHive {
 
     @Override
     public int hashCode() {
-      return 0;
+      HashCodeBuilder builder = new HashCodeBuilder();
+
+      return builder.toHashCode();
     }
 
     public int compareTo(fetchOne_args other) {
@@ -1827,7 +1844,19 @@ public class ThriftHive {
 
     @Override
     public int hashCode() {
-      return 0;
+      HashCodeBuilder builder = new HashCodeBuilder();
+
+      boolean present_success = true && (isSetSuccess());
+      builder.append(present_success);
+      if (present_success)
+        builder.append(success);
+
+      boolean present_ex = true && (isSetEx());
+      builder.append(present_ex);
+      if (present_ex)
+        builder.append(ex);
+
+      return builder.toHashCode();
     }
 
     public int compareTo(fetchOne_result other) {
@@ -2153,7 +2182,14 @@ public class ThriftHive {
 
     @Override
     public int hashCode() {
-      return 0;
+      HashCodeBuilder builder = new HashCodeBuilder();
+
+      boolean present_numRows = true;
+      builder.append(present_numRows);
+      if (present_numRows)
+        builder.append(numRows);
+
+      return builder.toHashCode();
     }
 
     public int compareTo(fetchN_args other) {
@@ -2522,7 +2558,19 @@ public class ThriftHive {
 
     @Override
     public int hashCode() {
-      return 0;
+      HashCodeBuilder builder = new HashCodeBuilder();
+
+      boolean present_success = true && (isSetSuccess());
+      builder.append(present_success);
+      if (present_success)
+        builder.append(success);
+
+      boolean present_ex = true && (isSetEx());
+      builder.append(present_ex);
+      if (present_ex)
+        builder.append(ex);
+
+      return builder.toHashCode();
     }
 
     public int compareTo(fetchN_result other) {
@@ -2797,7 +2845,9 @@ public class ThriftHive {
 
     @Override
     public int hashCode() {
-      return 0;
+      HashCodeBuilder builder = new HashCodeBuilder();
+
+      return builder.toHashCode();
     }
 
     public int compareTo(fetchAll_args other) {
@@ -3140,7 +3190,19 @@ public class ThriftHive {
 
     @Override
     public int hashCode() {
-      return 0;
+      HashCodeBuilder builder = new HashCodeBuilder();
+
+      boolean present_success = true && (isSetSuccess());
+      builder.append(present_success);
+      if (present_success)
+        builder.append(success);
+
+      boolean present_ex = true && (isSetEx());
+      builder.append(present_ex);
+      if (present_ex)
+        builder.append(ex);
+
+      return builder.toHashCode();
     }
 
     public int compareTo(fetchAll_result other) {
@@ -3415,7 +3477,9 @@ public class ThriftHive {
 
     @Override
     public int hashCode() {
-      return 0;
+      HashCodeBuilder builder = new HashCodeBuilder();
+
+      return builder.toHashCode();
     }
 
     public int compareTo(getSchema_args other) {
@@ -3738,7 +3802,19 @@ public class ThriftHive {
 
     @Override
     public int hashCode() {
-      return 0;
+      HashCodeBuilder builder = new HashCodeBuilder();
+
+      boolean present_success = true && (isSetSuccess());
+      builder.append(present_success);
+      if (present_success)
+        builder.append(success);
+
+      boolean present_ex = true && (isSetEx());
+      builder.append(present_ex);
+      if (present_ex)
+        builder.append(ex);
+
+      return builder.toHashCode();
     }
 
     public int compareTo(getSchema_result other) {
@@ -3997,7 +4073,9 @@ public class ThriftHive {
 
     @Override
     public int hashCode() {
-      return 0;
+      HashCodeBuilder builder = new HashCodeBuilder();
+
+      return builder.toHashCode();
     }
 
     public int compareTo(getThriftSchema_args other) {
@@ -4320,7 +4398,19 @@ public class ThriftHive {
 
     @Override
     public int hashCode() {
-      return 0;
+      HashCodeBuilder builder = new HashCodeBuilder();
+
+      boolean present_success = true && (isSetSuccess());
+      builder.append(present_success);
+      if (present_success)
+        builder.append(success);
+
+      boolean present_ex = true && (isSetEx());
+      builder.append(present_ex);
+      if (present_ex)
+        builder.append(ex);
+
+      return builder.toHashCode();
     }
 
     public int compareTo(getThriftSchema_result other) {
@@ -4579,7 +4669,9 @@ public class ThriftHive {
 
     @Override
     public int hashCode() {
-      return 0;
+      HashCodeBuilder builder = new HashCodeBuilder();
+
+      return builder.toHashCode();
     }
 
     public int compareTo(getClusterStatus_args other) {
@@ -4902,7 +4994,19 @@ public class ThriftHive {
 
     @Override
     public int hashCode() {
-      return 0;
+      HashCodeBuilder builder = new HashCodeBuilder();
+
+      boolean present_success = true && (isSetSuccess());
+      builder.append(present_success);
+      if (present_success)
+        builder.append(success);
+
+      boolean present_ex = true && (isSetEx());
+      builder.append(present_ex);
+      if (present_ex)
+        builder.append(ex);
+
+      return builder.toHashCode();
     }
 
     public int compareTo(getClusterStatus_result other) {
@@ -5161,7 +5265,9 @@ public class ThriftHive {
 
     @Override
     public int hashCode() {
-      return 0;
+      HashCodeBuilder builder = new HashCodeBuilder();
+
+      return builder.toHashCode();
     }
 
     public int compareTo(getQueryPlan_args other) {
@@ -5484,7 +5590,19 @@ public class ThriftHive {
 
     @Override
     public int hashCode() {
-      return 0;
+      HashCodeBuilder builder = new HashCodeBuilder();
+
+      boolean present_success = true && (isSetSuccess());
+      builder.append(present_success);
+      if (present_success)
+        builder.append(success);
+
+      boolean present_ex = true && (isSetEx());
+      builder.append(present_ex);
+      if (present_ex)
+        builder.append(ex);
+
+      return builder.toHashCode();
     }
 
     public int compareTo(getQueryPlan_result other) {
@@ -5743,7 +5861,9 @@ public class ThriftHive {
 
     @Override
     public int hashCode() {
-      return 0;
+      HashCodeBuilder builder = new HashCodeBuilder();
+
+      return builder.toHashCode();
     }
 
     public int compareTo(clean_args other) {
@@ -5943,7 +6063,9 @@ public class ThriftHive {
 
     @Override
     public int hashCode() {
-      return 0;
+      HashCodeBuilder builder = new HashCodeBuilder();
+
+      return builder.toHashCode();
     }
 
     public int compareTo(clean_result other) {



Mime
View raw message