diff --git a/hbase-examples/README.txt b/hbase-examples/README.txt index 599ccd49345..7ac2d13bd9c 100644 --- a/hbase-examples/README.txt +++ b/hbase-examples/README.txt @@ -58,7 +58,7 @@ Example code. * CPP: hbase-examples/src/main/cpp/DemoClient.cpp 1. Make sure you have Thrift C++ libraries; modify Makefile if necessary. - The recent (0.13.0 as of this writing) version of Thrift can be downloaded from http://thrift.apache.org/download/. + The recent (0.14.1 as of this writing) version of Thrift can be downloaded from http://thrift.apache.org/download/. 2. Execute {make}. 3. Execute {./DemoClient }. diff --git a/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift2/DemoClient.java b/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift2/DemoClient.java index fffe682e619..dfb02fa3072 100644 --- a/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift2/DemoClient.java +++ b/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift2/DemoClient.java @@ -35,12 +35,13 @@ import org.apache.hadoop.hbase.thrift2.generated.TPut; import org.apache.hadoop.hbase.thrift2.generated.TResult; import org.apache.hadoop.hbase.util.Bytes; import org.apache.hadoop.hbase.util.ClientUtils; +import org.apache.thrift.TConfiguration; import org.apache.thrift.protocol.TBinaryProtocol; import org.apache.thrift.protocol.TProtocol; -import org.apache.thrift.transport.TFramedTransport; import org.apache.thrift.transport.TSaslClientTransport; import org.apache.thrift.transport.TSocket; import org.apache.thrift.transport.TTransport; +import org.apache.thrift.transport.layered.TFramedTransport; import org.apache.yetus.audience.InterfaceAudience; @InterfaceAudience.Private @@ -91,7 +92,7 @@ public class DemoClient { int timeout = 10000; boolean framed = false; - TTransport transport = new TSocket(host, port, timeout); + TTransport transport = new TSocket(new TConfiguration(), host, port, timeout); if (framed) { transport = new TFramedTransport(transport); } else if (secure) { diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml index 01c9e325832..41aaf293535 100644 --- a/hbase-thrift/pom.xml +++ b/hbase-thrift/pom.xml @@ -340,12 +340,12 @@ thrift.version "The Thrift version must be specified." - 0\.13\.0 + 0\.14\.1 - - [FATAL] ========================================================================================== -[FATAL] HBase Thrift requires the thrift generator version 0.13.0. +[FATAL] HBase Thrift requires the thrift generator version 0.14.1. [FATAL] Setting it to something else needs to be reviewed for wire and behavior compatibility. [FATAL] ========================================================================================== - diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftServer.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftServer.java index ce49d3084f6..fe417df74d4 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftServer.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftServer.java @@ -120,13 +120,13 @@ import org.apache.thrift.server.TNonblockingServer; import org.apache.thrift.server.TServer; import org.apache.thrift.server.TServlet; import org.apache.thrift.server.TThreadedSelectorServer; -import org.apache.thrift.transport.TFramedTransport; import org.apache.thrift.transport.TNonblockingServerSocket; import org.apache.thrift.transport.TNonblockingServerTransport; import org.apache.thrift.transport.TSaslServerTransport; import org.apache.thrift.transport.TServerSocket; import org.apache.thrift.transport.TServerTransport; import org.apache.thrift.transport.TTransportFactory; +import org.apache.thrift.transport.layered.TFramedTransport; import org.apache.yetus.audience.InterfaceAudience; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -481,7 +481,7 @@ public class ThriftServer extends Configured implements Tool { + " doesn't work with framed transport yet"); } transportFactory = new TFramedTransport.Factory( - conf.getInt(MAX_FRAME_SIZE_CONF_KEY, MAX_FRAME_SIZE_CONF_DEFAULT) * 1024 * 1024); + conf.getInt(MAX_FRAME_SIZE_CONF_KEY, MAX_FRAME_SIZE_CONF_DEFAULT) * 1024 * 1024); LOG.debug("Using framed transport"); } else if (qop == null) { transportFactory = new TTransportFactory(); diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/AlreadyExists.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/AlreadyExists.java index 7a8dc5cdb01..66d2933e80f 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/AlreadyExists.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/AlreadyExists.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift.generated; * An AlreadyExists exceptions signals that a table with the specified * name already exists */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class AlreadyExists extends org.apache.thrift.TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AlreadyExists"); @@ -183,8 +183,6 @@ public class AlreadyExists extends org.apache.thrift.TException implements org.a @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof AlreadyExists) return this.equals((AlreadyExists)that); return false; @@ -227,7 +225,7 @@ public class AlreadyExists extends org.apache.thrift.TException implements org.a int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); + lastComparison = java.lang.Boolean.compare(isSetMessage(), other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/BatchMutation.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/BatchMutation.java index edc128d00f5..624b3608b21 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/BatchMutation.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/BatchMutation.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift.generated; /** * A BatchMutation object is used to apply a number of Mutations to a single row. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class BatchMutation implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("BatchMutation"); @@ -267,8 +267,6 @@ public class BatchMutation implements org.apache.thrift.TBase(_list5.size); @org.apache.thrift.annotation.Nullable Mutation _elem6; for (int _i7 = 0; _i7 < _list5.size; ++_i7) diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/ColumnDescriptor.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/ColumnDescriptor.java index 936e4056732..3ea65738930 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/ColumnDescriptor.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/ColumnDescriptor.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -12,7 +12,7 @@ package org.apache.hadoop.hbase.thrift.generated; * such as the number of versions, compression settings, etc. It is * used as input when creating a table or adding a column. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class ColumnDescriptor implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ColumnDescriptor"); @@ -619,8 +619,6 @@ public class ColumnDescriptor implements org.apache.thrift.TBase(_list55.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem56; for (int _i57 = 0; _i57 < _list55.size; ++_i57) @@ -12974,8 +12950,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getColumnDescriptors_args) return this.equals((getColumnDescriptors_args)that); return false; @@ -13018,7 +12992,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -13417,8 +13391,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getColumnDescriptors_result) return this.equals((getColumnDescriptors_result)that); return false; @@ -13474,7 +13446,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -13484,7 +13456,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -13682,7 +13654,7 @@ public class Hbase { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map64 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TMap _map64 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.HashMap(2*_map64.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key65; @org.apache.thrift.annotation.Nullable ColumnDescriptor _val66; @@ -13905,8 +13877,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getTableRegions_args) return this.equals((getTableRegions_args)that); return false; @@ -13949,7 +13919,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -14344,8 +14314,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getTableRegions_result) return this.equals((getTableRegions_result)that); return false; @@ -14401,7 +14369,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -14411,7 +14379,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -14605,7 +14573,7 @@ public class Hbase { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list73 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list73 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list73.size); @org.apache.thrift.annotation.Nullable TRegionInfo _elem74; for (int _i75 = 0; _i75 < _list73.size; ++_i75) @@ -14910,8 +14878,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof createTable_args) return this.equals((createTable_args)that); return false; @@ -14967,7 +14933,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -14977,7 +14943,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumnFamilies()).compareTo(other.isSetColumnFamilies()); + lastComparison = java.lang.Boolean.compare(isSetColumnFamilies(), other.isSetColumnFamilies()); if (lastComparison != 0) { return lastComparison; } @@ -15174,7 +15140,7 @@ public class Hbase { } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list81 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list81 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.columnFamilies = new java.util.ArrayList(_list81.size); @org.apache.thrift.annotation.Nullable ColumnDescriptor _elem82; for (int _i83 = 0; _i83 < _list81.size; ++_i83) @@ -15467,8 +15433,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof createTable_result) return this.equals((createTable_result)that); return false; @@ -15537,7 +15501,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -15547,7 +15511,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -15557,7 +15521,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetExist()).compareTo(other.isSetExist()); + lastComparison = java.lang.Boolean.compare(isSetExist(), other.isSetExist()); if (lastComparison != 0) { return lastComparison; } @@ -15973,8 +15937,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteTable_args) return this.equals((deleteTable_args)that); return false; @@ -16017,7 +15979,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -16340,8 +16302,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteTable_result) return this.equals((deleteTable_result)that); return false; @@ -16384,7 +16344,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -16974,8 +16934,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof get_args) return this.equals((get_args)that); return false; @@ -17057,7 +17015,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -17067,7 +17025,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -17077,7 +17035,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -17087,7 +17045,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -17349,7 +17307,7 @@ public class Hbase { } if (incoming.get(3)) { { - org.apache.thrift.protocol.TMap _map90 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map90 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map90.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key91; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val92; @@ -17613,8 +17571,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof get_result) return this.equals((get_result)that); return false; @@ -17670,7 +17626,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -17680,7 +17636,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -17874,7 +17830,7 @@ public class Hbase { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list99 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list99 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list99.size); @org.apache.thrift.annotation.Nullable TCell _elem100; for (int _i101 = 0; _i101 < _list99.size; ++_i101) @@ -18399,8 +18355,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getVer_args) return this.equals((getVer_args)that); return false; @@ -18493,7 +18447,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -18503,7 +18457,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -18513,7 +18467,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -18523,7 +18477,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetNumVersions()).compareTo(other.isSetNumVersions()); + lastComparison = java.lang.Boolean.compare(isSetNumVersions(), other.isSetNumVersions()); if (lastComparison != 0) { return lastComparison; } @@ -18533,7 +18487,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -18822,7 +18776,7 @@ public class Hbase { } if (incoming.get(4)) { { - org.apache.thrift.protocol.TMap _map108 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map108 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map108.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key109; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val110; @@ -19086,8 +19040,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getVer_result) return this.equals((getVer_result)that); return false; @@ -19143,7 +19095,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -19153,7 +19105,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -19347,7 +19299,7 @@ public class Hbase { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list117 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list117 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list117.size); @org.apache.thrift.annotation.Nullable TCell _elem118; for (int _i119 = 0; _i119 < _list117.size; ++_i119) @@ -19934,8 +19886,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getVerTs_args) return this.equals((getVerTs_args)that); return false; @@ -20039,7 +19989,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -20049,7 +19999,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -20059,7 +20009,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -20069,7 +20019,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -20079,7 +20029,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetNumVersions()).compareTo(other.isSetNumVersions()); + lastComparison = java.lang.Boolean.compare(isSetNumVersions(), other.isSetNumVersions()); if (lastComparison != 0) { return lastComparison; } @@ -20089,7 +20039,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -20403,7 +20353,7 @@ public class Hbase { } if (incoming.get(5)) { { - org.apache.thrift.protocol.TMap _map126 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map126 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map126.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key127; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val128; @@ -20667,8 +20617,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getVerTs_result) return this.equals((getVerTs_result)that); return false; @@ -20724,7 +20672,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -20734,7 +20682,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -20928,7 +20876,7 @@ public class Hbase { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list135 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list135 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list135.size); @org.apache.thrift.annotation.Nullable TCell _elem136; for (int _i137 = 0; _i137 < _list135.size; ++_i137) @@ -21313,8 +21261,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRow_args) return this.equals((getRow_args)that); return false; @@ -21383,7 +21329,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -21393,7 +21339,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -21403,7 +21349,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -21634,7 +21580,7 @@ public class Hbase { } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map144 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map144 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map144.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key145; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val146; @@ -21898,8 +21844,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRow_result) return this.equals((getRow_result)that); return false; @@ -21955,7 +21899,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -21965,7 +21909,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -22159,7 +22103,7 @@ public class Hbase { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list153 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list153 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list153.size); @org.apache.thrift.annotation.Nullable TRowResult _elem154; for (int _i155 = 0; _i155 < _list153.size; ++_i155) @@ -22628,8 +22572,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRowWithColumns_args) return this.equals((getRowWithColumns_args)that); return false; @@ -22711,7 +22653,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -22721,7 +22663,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -22731,7 +22673,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -22741,7 +22683,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -23022,7 +22964,7 @@ public class Hbase { } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list167 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list167 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.columns = new java.util.ArrayList(_list167.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem168; for (int _i169 = 0; _i169 < _list167.size; ++_i169) @@ -23035,7 +22977,7 @@ public class Hbase { } if (incoming.get(3)) { { - org.apache.thrift.protocol.TMap _map170 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map170 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map170.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key171; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val172; @@ -23299,8 +23241,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRowWithColumns_result) return this.equals((getRowWithColumns_result)that); return false; @@ -23356,7 +23296,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -23366,7 +23306,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -23560,7 +23500,7 @@ public class Hbase { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list179 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list179 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list179.size); @org.apache.thrift.annotation.Nullable TRowResult _elem180; for (int _i181 = 0; _i181 < _list179.size; ++_i181) @@ -24009,8 +23949,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRowTs_args) return this.equals((getRowTs_args)that); return false; @@ -24090,7 +24028,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -24100,7 +24038,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -24110,7 +24048,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -24120,7 +24058,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -24378,7 +24316,7 @@ public class Hbase { } if (incoming.get(3)) { { - org.apache.thrift.protocol.TMap _map188 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map188 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map188.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key189; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val190; @@ -24642,8 +24580,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRowTs_result) return this.equals((getRowTs_result)that); return false; @@ -24699,7 +24635,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -24709,7 +24645,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -24903,7 +24839,7 @@ public class Hbase { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list197 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list197 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list197.size); @org.apache.thrift.annotation.Nullable TRowResult _elem198; for (int _i199 = 0; _i199 < _list197.size; ++_i199) @@ -25424,8 +25360,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRowWithColumnsTs_args) return this.equals((getRowWithColumnsTs_args)that); return false; @@ -25518,7 +25452,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -25528,7 +25462,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -25538,7 +25472,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -25548,7 +25482,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -25558,7 +25492,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -25862,7 +25796,7 @@ public class Hbase { } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list211 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list211 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.columns = new java.util.ArrayList(_list211.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem212; for (int _i213 = 0; _i213 < _list211.size; ++_i213) @@ -25879,7 +25813,7 @@ public class Hbase { } if (incoming.get(4)) { { - org.apache.thrift.protocol.TMap _map214 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map214 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map214.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key215; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val216; @@ -26143,8 +26077,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRowWithColumnsTs_result) return this.equals((getRowWithColumnsTs_result)that); return false; @@ -26200,7 +26132,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -26210,7 +26142,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -26404,7 +26336,7 @@ public class Hbase { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list223 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list223 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list223.size); @org.apache.thrift.annotation.Nullable TRowResult _elem224; for (int _i225 = 0; _i225 < _list223.size; ++_i225) @@ -26797,8 +26729,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRows_args) return this.equals((getRows_args)that); return false; @@ -26867,7 +26797,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -26877,7 +26807,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRows()).compareTo(other.isSetRows()); + lastComparison = java.lang.Boolean.compare(isSetRows(), other.isSetRows()); if (lastComparison != 0) { return lastComparison; } @@ -26887,7 +26817,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -27137,7 +27067,7 @@ public class Hbase { } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list237 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list237 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.rows = new java.util.ArrayList(_list237.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem238; for (int _i239 = 0; _i239 < _list237.size; ++_i239) @@ -27150,7 +27080,7 @@ public class Hbase { } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map240 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map240 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map240.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key241; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val242; @@ -27414,8 +27344,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRows_result) return this.equals((getRows_result)that); return false; @@ -27471,7 +27399,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -27481,7 +27409,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -27675,7 +27603,7 @@ public class Hbase { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list249 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list249 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list249.size); @org.apache.thrift.annotation.Nullable TRowResult _elem250; for (int _i251 = 0; _i251 < _list249.size; ++_i251) @@ -28152,8 +28080,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRowsWithColumns_args) return this.equals((getRowsWithColumns_args)that); return false; @@ -28235,7 +28161,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -28245,7 +28171,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRows()).compareTo(other.isSetRows()); + lastComparison = java.lang.Boolean.compare(isSetRows(), other.isSetRows()); if (lastComparison != 0) { return lastComparison; } @@ -28255,7 +28181,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -28265,7 +28191,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -28565,7 +28491,7 @@ public class Hbase { } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list268 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list268 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.rows = new java.util.ArrayList(_list268.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem269; for (int _i270 = 0; _i270 < _list268.size; ++_i270) @@ -28578,7 +28504,7 @@ public class Hbase { } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list271 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list271 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.columns = new java.util.ArrayList(_list271.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem272; for (int _i273 = 0; _i273 < _list271.size; ++_i273) @@ -28591,7 +28517,7 @@ public class Hbase { } if (incoming.get(3)) { { - org.apache.thrift.protocol.TMap _map274 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map274 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map274.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key275; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val276; @@ -28855,8 +28781,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRowsWithColumns_result) return this.equals((getRowsWithColumns_result)that); return false; @@ -28912,7 +28836,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -28922,7 +28846,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -29116,7 +29040,7 @@ public class Hbase { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list283 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list283 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list283.size); @org.apache.thrift.annotation.Nullable TRowResult _elem284; for (int _i285 = 0; _i285 < _list283.size; ++_i285) @@ -29573,8 +29497,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRowsTs_args) return this.equals((getRowsTs_args)that); return false; @@ -29654,7 +29576,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -29664,7 +29586,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRows()).compareTo(other.isSetRows()); + lastComparison = java.lang.Boolean.compare(isSetRows(), other.isSetRows()); if (lastComparison != 0) { return lastComparison; } @@ -29674,7 +29596,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -29684,7 +29606,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -29957,7 +29879,7 @@ public class Hbase { } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list297 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list297 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.rows = new java.util.ArrayList(_list297.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem298; for (int _i299 = 0; _i299 < _list297.size; ++_i299) @@ -29974,7 +29896,7 @@ public class Hbase { } if (incoming.get(3)) { { - org.apache.thrift.protocol.TMap _map300 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map300 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map300.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key301; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val302; @@ -30238,8 +30160,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRowsTs_result) return this.equals((getRowsTs_result)that); return false; @@ -30295,7 +30215,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -30305,7 +30225,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -30499,7 +30419,7 @@ public class Hbase { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list309 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list309 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list309.size); @org.apache.thrift.annotation.Nullable TRowResult _elem310; for (int _i311 = 0; _i311 < _list309.size; ++_i311) @@ -31028,8 +30948,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRowsWithColumnsTs_args) return this.equals((getRowsWithColumnsTs_args)that); return false; @@ -31122,7 +31040,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -31132,7 +31050,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRows()).compareTo(other.isSetRows()); + lastComparison = java.lang.Boolean.compare(isSetRows(), other.isSetRows()); if (lastComparison != 0) { return lastComparison; } @@ -31142,7 +31060,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -31152,7 +31070,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -31162,7 +31080,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -31485,7 +31403,7 @@ public class Hbase { } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list328 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list328 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.rows = new java.util.ArrayList(_list328.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem329; for (int _i330 = 0; _i330 < _list328.size; ++_i330) @@ -31498,7 +31416,7 @@ public class Hbase { } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list331 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list331 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.columns = new java.util.ArrayList(_list331.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem332; for (int _i333 = 0; _i333 < _list331.size; ++_i333) @@ -31515,7 +31433,7 @@ public class Hbase { } if (incoming.get(4)) { { - org.apache.thrift.protocol.TMap _map334 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map334 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map334.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key335; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val336; @@ -31779,8 +31697,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRowsWithColumnsTs_result) return this.equals((getRowsWithColumnsTs_result)that); return false; @@ -31836,7 +31752,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -31846,7 +31762,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -32040,7 +31956,7 @@ public class Hbase { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list343 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list343 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list343.size); @org.apache.thrift.annotation.Nullable TRowResult _elem344; for (int _i345 = 0; _i345 < _list343.size; ++_i345) @@ -32509,8 +32425,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof mutateRow_args) return this.equals((mutateRow_args)that); return false; @@ -32592,7 +32506,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -32602,7 +32516,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -32612,7 +32526,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetMutations()).compareTo(other.isSetMutations()); + lastComparison = java.lang.Boolean.compare(isSetMutations(), other.isSetMutations()); if (lastComparison != 0) { return lastComparison; } @@ -32622,7 +32536,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -32904,7 +32818,7 @@ public class Hbase { } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list357 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list357 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.mutations = new java.util.ArrayList(_list357.size); @org.apache.thrift.annotation.Nullable Mutation _elem358; for (int _i359 = 0; _i359 < _list357.size; ++_i359) @@ -32918,7 +32832,7 @@ public class Hbase { } if (incoming.get(3)) { { - org.apache.thrift.protocol.TMap _map360 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map360 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map360.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key361; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val362; @@ -33161,8 +33075,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof mutateRow_result) return this.equals((mutateRow_result)that); return false; @@ -33218,7 +33130,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -33228,7 +33140,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -33923,8 +33835,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof mutateRowTs_args) return this.equals((mutateRowTs_args)that); return false; @@ -34017,7 +33927,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -34027,7 +33937,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -34037,7 +33947,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetMutations()).compareTo(other.isSetMutations()); + lastComparison = java.lang.Boolean.compare(isSetMutations(), other.isSetMutations()); if (lastComparison != 0) { return lastComparison; } @@ -34047,7 +33957,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -34057,7 +33967,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -34362,7 +34272,7 @@ public class Hbase { } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list375 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list375 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.mutations = new java.util.ArrayList(_list375.size); @org.apache.thrift.annotation.Nullable Mutation _elem376; for (int _i377 = 0; _i377 < _list375.size; ++_i377) @@ -34380,7 +34290,7 @@ public class Hbase { } if (incoming.get(4)) { { - org.apache.thrift.protocol.TMap _map378 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map378 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map378.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key379; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val380; @@ -34623,8 +34533,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof mutateRowTs_result) return this.equals((mutateRowTs_result)that); return false; @@ -34680,7 +34588,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -34690,7 +34598,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -35245,8 +35153,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof mutateRows_args) return this.equals((mutateRows_args)that); return false; @@ -35315,7 +35221,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -35325,7 +35231,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRowBatches()).compareTo(other.isSetRowBatches()); + lastComparison = java.lang.Boolean.compare(isSetRowBatches(), other.isSetRowBatches()); if (lastComparison != 0) { return lastComparison; } @@ -35335,7 +35241,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -35586,7 +35492,7 @@ public class Hbase { } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list393 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list393 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.rowBatches = new java.util.ArrayList(_list393.size); @org.apache.thrift.annotation.Nullable BatchMutation _elem394; for (int _i395 = 0; _i395 < _list393.size; ++_i395) @@ -35600,7 +35506,7 @@ public class Hbase { } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map396 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map396 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map396.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key397; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val398; @@ -35843,8 +35749,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof mutateRows_result) return this.equals((mutateRows_result)that); return false; @@ -35900,7 +35804,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -35910,7 +35814,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -36529,8 +36433,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof mutateRowsTs_args) return this.equals((mutateRowsTs_args)that); return false; @@ -36610,7 +36512,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -36620,7 +36522,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRowBatches()).compareTo(other.isSetRowBatches()); + lastComparison = java.lang.Boolean.compare(isSetRowBatches(), other.isSetRowBatches()); if (lastComparison != 0) { return lastComparison; } @@ -36630,7 +36532,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -36640,7 +36542,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -36914,7 +36816,7 @@ public class Hbase { } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list411 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list411 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.rowBatches = new java.util.ArrayList(_list411.size); @org.apache.thrift.annotation.Nullable BatchMutation _elem412; for (int _i413 = 0; _i413 < _list411.size; ++_i413) @@ -36932,7 +36834,7 @@ public class Hbase { } if (incoming.get(3)) { { - org.apache.thrift.protocol.TMap _map414 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map414 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map414.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key415; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val416; @@ -37175,8 +37077,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof mutateRowsTs_result) return this.equals((mutateRowsTs_result)that); return false; @@ -37232,7 +37132,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -37242,7 +37142,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -37841,8 +37741,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof atomicIncrement_args) return this.equals((atomicIncrement_args)that); return false; @@ -37922,7 +37820,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -37932,7 +37830,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -37942,7 +37840,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -37952,7 +37850,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); + lastComparison = java.lang.Boolean.compare(isSetValue(), other.isSetValue()); if (lastComparison != 0) { return lastComparison; } @@ -38467,8 +38365,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof atomicIncrement_result) return this.equals((atomicIncrement_result)that); return false; @@ -38535,7 +38431,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -38545,7 +38441,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -38555,7 +38451,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -39207,8 +39103,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteAll_args) return this.equals((deleteAll_args)that); return false; @@ -39290,7 +39184,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -39300,7 +39194,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -39310,7 +39204,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -39320,7 +39214,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -39582,7 +39476,7 @@ public class Hbase { } if (incoming.get(3)) { { - org.apache.thrift.protocol.TMap _map424 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map424 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map424.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key425; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val426; @@ -39774,8 +39668,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteAll_result) return this.equals((deleteAll_result)that); return false; @@ -39818,7 +39710,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -40472,8 +40364,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteAllTs_args) return this.equals((deleteAllTs_args)that); return false; @@ -40566,7 +40456,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -40576,7 +40466,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -40586,7 +40476,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -40596,7 +40486,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -40606,7 +40496,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -40895,7 +40785,7 @@ public class Hbase { } if (incoming.get(4)) { { - org.apache.thrift.protocol.TMap _map434 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map434 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map434.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key435; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val436; @@ -41087,8 +40977,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteAllTs_result) return this.equals((deleteAllTs_result)that); return false; @@ -41131,7 +41019,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -41645,8 +41533,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteAllRow_args) return this.equals((deleteAllRow_args)that); return false; @@ -41715,7 +41601,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -41725,7 +41611,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -41735,7 +41621,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -41966,7 +41852,7 @@ public class Hbase { } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map444 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map444 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map444.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key445; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val446; @@ -42158,8 +42044,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteAllRow_result) return this.equals((deleteAllRow_result)that); return false; @@ -42202,7 +42086,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -42539,8 +42423,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof increment_args) return this.equals((increment_args)that); return false; @@ -42583,7 +42465,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIncrement()).compareTo(other.isSetIncrement()); + lastComparison = java.lang.Boolean.compare(isSetIncrement(), other.isSetIncrement()); if (lastComparison != 0) { return lastComparison; } @@ -42911,8 +42793,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof increment_result) return this.equals((increment_result)that); return false; @@ -42955,7 +42835,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -43313,8 +43193,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof incrementRows_args) return this.equals((incrementRows_args)that); return false; @@ -43357,7 +43235,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIncrements()).compareTo(other.isSetIncrements()); + lastComparison = java.lang.Boolean.compare(isSetIncrements(), other.isSetIncrements()); if (lastComparison != 0) { return lastComparison; } @@ -43523,7 +43401,7 @@ public class Hbase { java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list453 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list453 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.increments = new java.util.ArrayList(_list453.size); @org.apache.thrift.annotation.Nullable TIncrement _elem454; for (int _i455 = 0; _i455 < _list453.size; ++_i455) @@ -43714,8 +43592,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof incrementRows_result) return this.equals((incrementRows_result)that); return false; @@ -43758,7 +43634,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -44336,8 +44212,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteAllRowTs_args) return this.equals((deleteAllRowTs_args)that); return false; @@ -44417,7 +44291,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -44427,7 +44301,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -44437,7 +44311,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -44447,7 +44321,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -44705,7 +44579,7 @@ public class Hbase { } if (incoming.get(3)) { { - org.apache.thrift.protocol.TMap _map462 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map462 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map462.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key463; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val464; @@ -44897,8 +44771,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteAllRowTs_result) return this.equals((deleteAllRowTs_result)that); return false; @@ -44941,7 +44813,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -45442,8 +45314,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof scannerOpenWithScan_args) return this.equals((scannerOpenWithScan_args)that); return false; @@ -45512,7 +45382,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -45522,7 +45392,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetScan()).compareTo(other.isSetScan()); + lastComparison = java.lang.Boolean.compare(isSetScan(), other.isSetScan()); if (lastComparison != 0) { return lastComparison; } @@ -45532,7 +45402,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -45768,7 +45638,7 @@ public class Hbase { } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map472 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map472 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map472.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key473; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val474; @@ -46012,8 +45882,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof scannerOpenWithScan_result) return this.equals((scannerOpenWithScan_result)that); return false; @@ -46067,7 +45935,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -46077,7 +45945,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -46716,8 +46584,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof scannerOpen_args) return this.equals((scannerOpen_args)that); return false; @@ -46799,7 +46665,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -46809,7 +46675,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStartRow()).compareTo(other.isSetStartRow()); + lastComparison = java.lang.Boolean.compare(isSetStartRow(), other.isSetStartRow()); if (lastComparison != 0) { return lastComparison; } @@ -46819,7 +46685,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -46829,7 +46695,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -47110,7 +46976,7 @@ public class Hbase { } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list487 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list487 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.columns = new java.util.ArrayList(_list487.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem488; for (int _i489 = 0; _i489 < _list487.size; ++_i489) @@ -47123,7 +46989,7 @@ public class Hbase { } if (incoming.get(3)) { { - org.apache.thrift.protocol.TMap _map490 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map490 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map490.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key491; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val492; @@ -47367,8 +47233,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof scannerOpen_result) return this.equals((scannerOpen_result)that); return false; @@ -47422,7 +47286,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -47432,7 +47296,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -48151,8 +48015,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof scannerOpenWithStop_args) return this.equals((scannerOpenWithStop_args)that); return false; @@ -48247,7 +48109,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -48257,7 +48119,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStartRow()).compareTo(other.isSetStartRow()); + lastComparison = java.lang.Boolean.compare(isSetStartRow(), other.isSetStartRow()); if (lastComparison != 0) { return lastComparison; } @@ -48267,7 +48129,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStopRow()).compareTo(other.isSetStopRow()); + lastComparison = java.lang.Boolean.compare(isSetStopRow(), other.isSetStopRow()); if (lastComparison != 0) { return lastComparison; } @@ -48277,7 +48139,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -48287,7 +48149,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -48599,7 +48461,7 @@ public class Hbase { } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list505 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.columns = new java.util.ArrayList(_list505.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem506; for (int _i507 = 0; _i507 < _list505.size; ++_i507) @@ -48612,7 +48474,7 @@ public class Hbase { } if (incoming.get(4)) { { - org.apache.thrift.protocol.TMap _map508 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map508 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map508.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key509; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val510; @@ -48856,8 +48718,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof scannerOpenWithStop_result) return this.equals((scannerOpenWithStop_result)that); return false; @@ -48911,7 +48771,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -48921,7 +48781,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -49548,8 +49408,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof scannerOpenWithPrefix_args) return this.equals((scannerOpenWithPrefix_args)that); return false; @@ -49631,7 +49489,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -49641,7 +49499,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStartAndPrefix()).compareTo(other.isSetStartAndPrefix()); + lastComparison = java.lang.Boolean.compare(isSetStartAndPrefix(), other.isSetStartAndPrefix()); if (lastComparison != 0) { return lastComparison; } @@ -49651,7 +49509,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -49661,7 +49519,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -49942,7 +49800,7 @@ public class Hbase { } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list523 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list523 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.columns = new java.util.ArrayList(_list523.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem524; for (int _i525 = 0; _i525 < _list523.size; ++_i525) @@ -49955,7 +49813,7 @@ public class Hbase { } if (incoming.get(3)) { { - org.apache.thrift.protocol.TMap _map526 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map526 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map526.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key527; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val528; @@ -50199,8 +50057,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof scannerOpenWithPrefix_result) return this.equals((scannerOpenWithPrefix_result)that); return false; @@ -50254,7 +50110,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -50264,7 +50120,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -50967,8 +50823,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof scannerOpenTs_args) return this.equals((scannerOpenTs_args)that); return false; @@ -51061,7 +50915,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -51071,7 +50925,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStartRow()).compareTo(other.isSetStartRow()); + lastComparison = java.lang.Boolean.compare(isSetStartRow(), other.isSetStartRow()); if (lastComparison != 0) { return lastComparison; } @@ -51081,7 +50935,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -51091,7 +50945,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -51101,7 +50955,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -51405,7 +51259,7 @@ public class Hbase { } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list541 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list541 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.columns = new java.util.ArrayList(_list541.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem542; for (int _i543 = 0; _i543 < _list541.size; ++_i543) @@ -51422,7 +51276,7 @@ public class Hbase { } if (incoming.get(4)) { { - org.apache.thrift.protocol.TMap _map544 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map544 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map544.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key545; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val546; @@ -51666,8 +51520,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof scannerOpenTs_result) return this.equals((scannerOpenTs_result)that); return false; @@ -51721,7 +51573,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -51731,7 +51583,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -52514,8 +52366,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof scannerOpenWithStopTs_args) return this.equals((scannerOpenWithStopTs_args)that); return false; @@ -52621,7 +52471,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -52631,7 +52481,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStartRow()).compareTo(other.isSetStartRow()); + lastComparison = java.lang.Boolean.compare(isSetStartRow(), other.isSetStartRow()); if (lastComparison != 0) { return lastComparison; } @@ -52641,7 +52491,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStopRow()).compareTo(other.isSetStopRow()); + lastComparison = java.lang.Boolean.compare(isSetStopRow(), other.isSetStopRow()); if (lastComparison != 0) { return lastComparison; } @@ -52651,7 +52501,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -52661,7 +52511,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -52671,7 +52521,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -53006,7 +52856,7 @@ public class Hbase { } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list559 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list559 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.columns = new java.util.ArrayList(_list559.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem560; for (int _i561 = 0; _i561 < _list559.size; ++_i561) @@ -53023,7 +52873,7 @@ public class Hbase { } if (incoming.get(5)) { { - org.apache.thrift.protocol.TMap _map562 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map562 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map562.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key563; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val564; @@ -53267,8 +53117,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof scannerOpenWithStopTs_result) return this.equals((scannerOpenWithStopTs_result)that); return false; @@ -53322,7 +53170,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -53332,7 +53180,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -53699,8 +53547,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof scannerGet_args) return this.equals((scannerGet_args)that); return false; @@ -53741,7 +53587,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetId()).compareTo(other.isSetId()); + lastComparison = java.lang.Boolean.compare(isSetId(), other.isSetId()); if (lastComparison != 0) { return lastComparison; } @@ -54183,8 +54029,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof scannerGet_result) return this.equals((scannerGet_result)that); return false; @@ -54253,7 +54097,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -54263,7 +54107,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -54273,7 +54117,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -54495,7 +54339,7 @@ public class Hbase { java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list571 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list571 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list571.size); @org.apache.thrift.annotation.Nullable TRowResult _elem572; for (int _i573 = 0; _i573 < _list571.size; ++_i573) @@ -54771,8 +54615,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof scannerGetList_args) return this.equals((scannerGetList_args)that); return false; @@ -54824,7 +54666,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetId()).compareTo(other.isSetId()); + lastComparison = java.lang.Boolean.compare(isSetId(), other.isSetId()); if (lastComparison != 0) { return lastComparison; } @@ -54834,7 +54676,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetNbRows()).compareTo(other.isSetNbRows()); + lastComparison = java.lang.Boolean.compare(isSetNbRows(), other.isSetNbRows()); if (lastComparison != 0) { return lastComparison; } @@ -55301,8 +55143,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof scannerGetList_result) return this.equals((scannerGetList_result)that); return false; @@ -55371,7 +55211,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -55381,7 +55221,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -55391,7 +55231,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -55613,7 +55453,7 @@ public class Hbase { java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list579 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list579 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list579.size); @org.apache.thrift.annotation.Nullable TRowResult _elem580; for (int _i581 = 0; _i581 < _list579.size; ++_i581) @@ -55827,8 +55667,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof scannerClose_args) return this.equals((scannerClose_args)that); return false; @@ -55869,7 +55707,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetId()).compareTo(other.isSetId()); + lastComparison = java.lang.Boolean.compare(isSetId(), other.isSetId()); if (lastComparison != 0) { return lastComparison; } @@ -56239,8 +56077,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof scannerClose_result) return this.equals((scannerClose_result)that); return false; @@ -56296,7 +56132,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -56306,7 +56142,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -56689,8 +56525,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRegionInfo_args) return this.equals((getRegionInfo_args)that); return false; @@ -56733,7 +56567,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -57107,8 +56941,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRegionInfo_result) return this.equals((getRegionInfo_result)that); return false; @@ -57164,7 +56996,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -57174,7 +57006,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -57547,8 +57379,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof append_args) return this.equals((append_args)that); return false; @@ -57591,7 +57421,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetAppend()).compareTo(other.isSetAppend()); + lastComparison = java.lang.Boolean.compare(isSetAppend(), other.isSetAppend()); if (lastComparison != 0) { return lastComparison; } @@ -57991,8 +57821,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof append_result) return this.equals((append_result)that); return false; @@ -58048,7 +57876,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -58058,7 +57886,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -58252,7 +58080,7 @@ public class Hbase { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list587 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list587 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list587.size); @org.apache.thrift.annotation.Nullable TCell _elem588; for (int _i589 = 0; _i589 < _list587.size; ++_i589) @@ -58860,8 +58688,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof checkAndPut_args) return this.equals((checkAndPut_args)that); return false; @@ -58969,7 +58795,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -58979,7 +58805,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -58989,7 +58815,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -58999,7 +58825,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); + lastComparison = java.lang.Boolean.compare(isSetValue(), other.isSetValue()); if (lastComparison != 0) { return lastComparison; } @@ -59009,7 +58835,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetMput()).compareTo(other.isSetMput()); + lastComparison = java.lang.Boolean.compare(isSetMput(), other.isSetMput()); if (lastComparison != 0) { return lastComparison; } @@ -59019,7 +58845,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -59348,7 +59174,7 @@ public class Hbase { } if (incoming.get(5)) { { - org.apache.thrift.protocol.TMap _map596 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map596 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map596.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key597; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val598; @@ -59643,8 +59469,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof checkAndPut_result) return this.equals((checkAndPut_result)that); return false; @@ -59711,7 +59535,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -59721,7 +59545,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -59731,7 +59555,7 @@ public class Hbase { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -60061,8 +59885,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getThriftServerType_args) return this.equals((getThriftServerType_args)that); return false; @@ -60388,8 +60210,6 @@ public class Hbase { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getThriftServerType_result) return this.equals((getThriftServerType_result)that); return false; @@ -60432,7 +60252,7 @@ public class Hbase { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/IOError.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/IOError.java index 6ae487760a4..1ae038bde3b 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/IOError.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/IOError.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -12,7 +12,7 @@ package org.apache.hadoop.hbase.thrift.generated; * to the Hbase master or an Hbase region server. Also used to return * more general Hbase error conditions. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class IOError extends org.apache.thrift.TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("IOError"); @@ -184,8 +184,6 @@ public class IOError extends org.apache.thrift.TException implements org.apache. @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof IOError) return this.equals((IOError)that); return false; @@ -228,7 +226,7 @@ public class IOError extends org.apache.thrift.TException implements org.apache. int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); + lastComparison = java.lang.Boolean.compare(isSetMessage(), other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/IllegalArgument.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/IllegalArgument.java index 20f99c6cbb6..8bc6424f048 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/IllegalArgument.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/IllegalArgument.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift.generated; * An IllegalArgument exception indicates an illegal or invalid * argument was passed into a procedure. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class IllegalArgument extends org.apache.thrift.TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("IllegalArgument"); @@ -183,8 +183,6 @@ public class IllegalArgument extends org.apache.thrift.TException implements org @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof IllegalArgument) return this.equals((IllegalArgument)that); return false; @@ -227,7 +225,7 @@ public class IllegalArgument extends org.apache.thrift.TException implements org int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); + lastComparison = java.lang.Boolean.compare(isSetMessage(), other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/Mutation.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/Mutation.java index 6834b00b36f..c1514edd1f6 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/Mutation.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/Mutation.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift.generated; /** * A Mutation object is used to either update or delete a column-value. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class Mutation implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Mutation"); @@ -365,8 +365,6 @@ public class Mutation implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TAppend"); @@ -403,8 +403,6 @@ public class TAppend implements org.apache.thrift.TBase(_list44.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem45; for (int _i46 = 0; _i46 < _list44.size; ++_i46) @@ -806,7 +804,7 @@ public class TAppend implements org.apache.thrift.TBase(_list47.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem48; for (int _i49 = 0; _i49 < _list47.size; ++_i49) diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TCell.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TCell.java index 8e0fa33f26c..4d0dc67f64e 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TCell.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TCell.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -13,7 +13,7 @@ package org.apache.hadoop.hbase.thrift.generated; * the timestamp of a cell to a first-class value, making it easy to take * note of temporal data. Cell is used all the way from HStore up to HTable. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class TCell implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCell"); @@ -250,8 +250,6 @@ public class TCell implements org.apache.thrift.TBase, jav @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TCell) return this.equals((TCell)that); return false; @@ -305,7 +303,7 @@ public class TCell implements org.apache.thrift.TBase, jav int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); + lastComparison = java.lang.Boolean.compare(isSetValue(), other.isSetValue()); if (lastComparison != 0) { return lastComparison; } @@ -315,7 +313,7 @@ public class TCell implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TColumn.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TColumn.java index 9237363ac4a..56983a9eb3b 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TColumn.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TColumn.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift.generated; /** * Holds column name and the cell. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class TColumn implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumn"); @@ -246,8 +246,6 @@ public class TColumn implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TIncrement"); @@ -376,8 +376,6 @@ public class TIncrement implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRegionInfo"); @@ -539,8 +539,6 @@ public class TRegionInfo implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRowResult"); @@ -340,8 +340,6 @@ public class TRowResult implements org.apache.thrift.TBase(2*_map19.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key20; @org.apache.thrift.annotation.Nullable TCell _val21; @@ -706,7 +704,7 @@ public class TRowResult implements org.apache.thrift.TBase(_list23.size); @org.apache.thrift.annotation.Nullable TColumn _elem24; for (int _i25 = 0; _i25 < _list23.size; ++_i25) diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TScan.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TScan.java index e92d7ef69cc..b64a80a8fd0 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TScan.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TScan.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift.generated; /** * A Scan object is used to specify scanner parameters when opening a scanner. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class TScan implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TScan"); @@ -667,8 +667,6 @@ public class TScan implements org.apache.thrift.TBase, jav @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TScan) return this.equals((TScan)that); return false; @@ -828,7 +826,7 @@ public class TScan implements org.apache.thrift.TBase, jav int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetStartRow()).compareTo(other.isSetStartRow()); + lastComparison = java.lang.Boolean.compare(isSetStartRow(), other.isSetStartRow()); if (lastComparison != 0) { return lastComparison; } @@ -838,7 +836,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStopRow()).compareTo(other.isSetStopRow()); + lastComparison = java.lang.Boolean.compare(isSetStopRow(), other.isSetStopRow()); if (lastComparison != 0) { return lastComparison; } @@ -848,7 +846,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -858,7 +856,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -868,7 +866,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetCaching()).compareTo(other.isSetCaching()); + lastComparison = java.lang.Boolean.compare(isSetCaching(), other.isSetCaching()); if (lastComparison != 0) { return lastComparison; } @@ -878,7 +876,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetFilterString()).compareTo(other.isSetFilterString()); + lastComparison = java.lang.Boolean.compare(isSetFilterString(), other.isSetFilterString()); if (lastComparison != 0) { return lastComparison; } @@ -888,7 +886,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetBatchSize()).compareTo(other.isSetBatchSize()); + lastComparison = java.lang.Boolean.compare(isSetBatchSize(), other.isSetBatchSize()); if (lastComparison != 0) { return lastComparison; } @@ -898,7 +896,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetSortColumns()).compareTo(other.isSetSortColumns()); + lastComparison = java.lang.Boolean.compare(isSetSortColumns(), other.isSetSortColumns()); if (lastComparison != 0) { return lastComparison; } @@ -908,7 +906,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetReversed()).compareTo(other.isSetReversed()); + lastComparison = java.lang.Boolean.compare(isSetReversed(), other.isSetReversed()); if (lastComparison != 0) { return lastComparison; } @@ -918,7 +916,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetCacheBlocks()).compareTo(other.isSetCacheBlocks()); + lastComparison = java.lang.Boolean.compare(isSetCacheBlocks(), other.isSetCacheBlocks()); if (lastComparison != 0) { return lastComparison; } @@ -1344,7 +1342,7 @@ public class TScan implements org.apache.thrift.TBase, jav } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list31 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list31 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.columns = new java.util.ArrayList(_list31.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem32; for (int _i33 = 0; _i33 < _list31.size; ++_i33) diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TThriftServerType.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TThriftServerType.java index 1362f91cb6a..b176cd91561 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TThriftServerType.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TThriftServerType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift.generated; /** * Specify type of thrift server: thrift and thrift2 */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-14") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public enum TThriftServerType implements org.apache.thrift.TEnum { ONE(1), TWO(2); diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/client/ThriftConnection.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/client/ThriftConnection.java index 36e513c157f..88115f25431 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/client/ThriftConnection.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/client/ThriftConnection.java @@ -58,11 +58,11 @@ import org.apache.http.protocol.HttpContext; import org.apache.thrift.protocol.TBinaryProtocol; import org.apache.thrift.protocol.TCompactProtocol; import org.apache.thrift.protocol.TProtocol; -import org.apache.thrift.transport.TFramedTransport; import org.apache.thrift.transport.THttpClient; import org.apache.thrift.transport.TSocket; import org.apache.thrift.transport.TTransport; import org.apache.thrift.transport.TTransportException; +import org.apache.thrift.transport.layered.TFramedTransport; import org.apache.yetus.audience.InterfaceAudience; import org.apache.hbase.thirdparty.com.google.common.base.Preconditions; @@ -160,14 +160,16 @@ public class ThriftConnection implements Connection { @Override public Pair getClient() throws IOException { - TSocket sock = new TSocket(connection.getHost(), connection.getPort()); - sock.setSocketTimeout(connection.getOperationTimeout()); - sock.setConnectTimeout(connection.getConnectTimeout()); - TTransport tTransport = sock; - if (connection.isFramed()) { - tTransport = new TFramedTransport(tTransport); - } + TTransport tTransport = null; try { + TSocket sock = new TSocket(connection.getHost(), connection.getPort()); + sock.setSocketTimeout(connection.getOperationTimeout()); + sock.setConnectTimeout(connection.getConnectTimeout()); + tTransport = sock; + if (connection.isFramed()) { + tTransport = new TFramedTransport(tTransport); + } + sock.open(); } catch (TTransportException e) { throw new IOException(e); diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TAppend.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TAppend.java index 408571649da..a33fd7a8620 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TAppend.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TAppend.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,7 +7,7 @@ package org.apache.hadoop.hbase.thrift2.generated; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class TAppend implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TAppend"); @@ -491,8 +491,6 @@ public class TAppend implements org.apache.thrift.TBase(_list99.size); @org.apache.thrift.annotation.Nullable TColumnValue _elem100; for (int _i101 = 0; _i101 < _list99.size; ++_i101) @@ -1004,7 +1002,7 @@ public class TAppend implements org.apache.thrift.TBase(2*_map102.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key103; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val104; diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TAuthorization.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TAuthorization.java index 17875a62817..3bca8aa8042 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TAuthorization.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TAuthorization.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,7 +7,7 @@ package org.apache.hadoop.hbase.thrift2.generated; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class TAuthorization implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TAuthorization"); @@ -191,8 +191,6 @@ public class TAuthorization implements org.apache.thrift.TBase(_list13.size); @org.apache.thrift.annotation.Nullable java.lang.String _elem14; for (int _i15 = 0; _i15 < _list13.size; ++_i15) diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TBloomFilterType.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TBloomFilterType.java index 847595d1472..0923788c4a6 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TBloomFilterType.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TBloomFilterType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated; * Thrift wrapper around * org.apache.hadoop.hbase.regionserver.BloomType */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public enum TBloomFilterType implements org.apache.thrift.TEnum { /** * Bloomfilters disabled diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TCellVisibility.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TCellVisibility.java index de67ff4cf58..c94dcac97d6 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TCellVisibility.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TCellVisibility.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,7 +7,7 @@ package org.apache.hadoop.hbase.thrift2.generated; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class TCellVisibility implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCellVisibility"); @@ -173,8 +173,6 @@ public class TCellVisibility implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumn"); @@ -309,8 +309,6 @@ public class TColumn implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumnFamilyDescriptor"); @@ -1196,8 +1196,6 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase(2*_map154.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key155; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val156; @@ -2401,7 +2399,7 @@ public class TColumnFamilyDescriptor implements org.apache.thrift.TBase(2*_map158.size); @org.apache.thrift.annotation.Nullable java.lang.String _key159; @org.apache.thrift.annotation.Nullable java.lang.String _val160; diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TColumnIncrement.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TColumnIncrement.java index d54f81a1ed7..9003d6abe4f 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TColumnIncrement.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TColumnIncrement.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift2.generated; /** * Represents a single cell and the amount to increment it by */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class TColumnIncrement implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumnIncrement"); @@ -311,8 +311,6 @@ public class TColumnIncrement implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumnValue"); @@ -482,8 +482,6 @@ public class TColumnValue implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TDelete"); @@ -534,8 +534,6 @@ public class TDelete implements org.apache.thrift.TBase(_list63.size); @org.apache.thrift.annotation.Nullable TColumn _elem64; for (int _i65 = 0; _i65 < _list63.size; ++_i65) @@ -1059,7 +1057,7 @@ public class TDelete implements org.apache.thrift.TBase(2*_map66.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key67; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val68; diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TDeleteType.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TDeleteType.java index 5e0613ccef7..0f2e4620abf 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TDeleteType.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TDeleteType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -12,7 +12,7 @@ package org.apache.hadoop.hbase.thrift2.generated; * - DELETE_COLUMN means exactly one version will be removed, * - DELETE_COLUMNS means previous versions will also be removed. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public enum TDeleteType implements org.apache.thrift.TEnum { DELETE_COLUMN(0), DELETE_COLUMNS(1), diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TDurability.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TDurability.java index 2deee3dcd42..a95504c52bf 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TDurability.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TDurability.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -14,7 +14,7 @@ package org.apache.hadoop.hbase.thrift2.generated; * - SYNC_WAL means write the Mutation to the WAL synchronously, * - FSYNC_WAL means Write the Mutation to the WAL synchronously and force the entries to disk. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public enum TDurability implements org.apache.thrift.TEnum { USE_DEFAULT(0), SKIP_WAL(1), diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TFilterByOperator.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TFilterByOperator.java index 658f55a2f74..eb3da667055 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TFilterByOperator.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TFilterByOperator.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,7 +7,7 @@ package org.apache.hadoop.hbase.thrift2.generated; -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public enum TFilterByOperator implements org.apache.thrift.TEnum { AND(0), OR(1); diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TGet.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TGet.java index a303eccd18c..29d4cad0542 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TGet.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TGet.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -20,7 +20,7 @@ package org.apache.hadoop.hbase.thrift2.generated; * If you specify a time range and a timestamp the range is ignored. * Timestamps on TColumns are ignored. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class TGet implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGet"); @@ -957,8 +957,6 @@ public class TGet implements org.apache.thrift.TBase, java.i @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TGet) return this.equals((TGet)that); return false; @@ -1183,7 +1181,7 @@ public class TGet implements org.apache.thrift.TBase, java.i int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -1193,7 +1191,7 @@ public class TGet implements org.apache.thrift.TBase, java.i return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -1203,7 +1201,7 @@ public class TGet implements org.apache.thrift.TBase, java.i return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -1213,7 +1211,7 @@ public class TGet implements org.apache.thrift.TBase, java.i return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimeRange()).compareTo(other.isSetTimeRange()); + lastComparison = java.lang.Boolean.compare(isSetTimeRange(), other.isSetTimeRange()); if (lastComparison != 0) { return lastComparison; } @@ -1223,7 +1221,7 @@ public class TGet implements org.apache.thrift.TBase, java.i return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetMaxVersions()).compareTo(other.isSetMaxVersions()); + lastComparison = java.lang.Boolean.compare(isSetMaxVersions(), other.isSetMaxVersions()); if (lastComparison != 0) { return lastComparison; } @@ -1233,7 +1231,7 @@ public class TGet implements org.apache.thrift.TBase, java.i return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetFilterString()).compareTo(other.isSetFilterString()); + lastComparison = java.lang.Boolean.compare(isSetFilterString(), other.isSetFilterString()); if (lastComparison != 0) { return lastComparison; } @@ -1243,7 +1241,7 @@ public class TGet implements org.apache.thrift.TBase, java.i return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -1253,7 +1251,7 @@ public class TGet implements org.apache.thrift.TBase, java.i return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAuthorizations()).compareTo(other.isSetAuthorizations()); + lastComparison = java.lang.Boolean.compare(isSetAuthorizations(), other.isSetAuthorizations()); if (lastComparison != 0) { return lastComparison; } @@ -1263,7 +1261,7 @@ public class TGet implements org.apache.thrift.TBase, java.i return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetConsistency()).compareTo(other.isSetConsistency()); + lastComparison = java.lang.Boolean.compare(isSetConsistency(), other.isSetConsistency()); if (lastComparison != 0) { return lastComparison; } @@ -1273,7 +1271,7 @@ public class TGet implements org.apache.thrift.TBase, java.i return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTargetReplicaId()).compareTo(other.isSetTargetReplicaId()); + lastComparison = java.lang.Boolean.compare(isSetTargetReplicaId(), other.isSetTargetReplicaId()); if (lastComparison != 0) { return lastComparison; } @@ -1283,7 +1281,7 @@ public class TGet implements org.apache.thrift.TBase, java.i return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetCacheBlocks()).compareTo(other.isSetCacheBlocks()); + lastComparison = java.lang.Boolean.compare(isSetCacheBlocks(), other.isSetCacheBlocks()); if (lastComparison != 0) { return lastComparison; } @@ -1293,7 +1291,7 @@ public class TGet implements org.apache.thrift.TBase, java.i return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStoreLimit()).compareTo(other.isSetStoreLimit()); + lastComparison = java.lang.Boolean.compare(isSetStoreLimit(), other.isSetStoreLimit()); if (lastComparison != 0) { return lastComparison; } @@ -1303,7 +1301,7 @@ public class TGet implements org.apache.thrift.TBase, java.i return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStoreOffset()).compareTo(other.isSetStoreOffset()); + lastComparison = java.lang.Boolean.compare(isSetStoreOffset(), other.isSetStoreOffset()); if (lastComparison != 0) { return lastComparison; } @@ -1313,7 +1311,7 @@ public class TGet implements org.apache.thrift.TBase, java.i return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetExistence_only()).compareTo(other.isSetExistence_only()); + lastComparison = java.lang.Boolean.compare(isSetExistence_only(), other.isSetExistence_only()); if (lastComparison != 0) { return lastComparison; } @@ -1323,7 +1321,7 @@ public class TGet implements org.apache.thrift.TBase, java.i return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetFilterBytes()).compareTo(other.isSetFilterBytes()); + lastComparison = java.lang.Boolean.compare(isSetFilterBytes(), other.isSetFilterBytes()); if (lastComparison != 0) { return lastComparison; } @@ -1918,7 +1916,7 @@ public class TGet implements org.apache.thrift.TBase, java.i java.util.BitSet incoming = iprot.readBitSet(14); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list27 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list27 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.columns = new java.util.ArrayList(_list27.size); @org.apache.thrift.annotation.Nullable TColumn _elem28; for (int _i29 = 0; _i29 < _list27.size; ++_i29) @@ -1949,7 +1947,7 @@ public class TGet implements org.apache.thrift.TBase, java.i } if (incoming.get(5)) { { - org.apache.thrift.protocol.TMap _map30 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map30 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map30.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key31; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val32; diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/THBaseService.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/THBaseService.java index a92e651810f..5d1a6a8aa98 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/THBaseService.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/THBaseService.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,7 +7,7 @@ package org.apache.hadoop.hbase.thrift2.generated; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class THBaseService { public interface Iface { @@ -8628,8 +8628,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof exists_args) return this.equals((exists_args)that); return false; @@ -8685,7 +8683,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); + lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable()); if (lastComparison != 0) { return lastComparison; } @@ -8695,7 +8693,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTget()).compareTo(other.isSetTget()); + lastComparison = java.lang.Boolean.compare(isSetTget(), other.isSetTget()); if (lastComparison != 0) { return lastComparison; } @@ -9095,8 +9093,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof exists_result) return this.equals((exists_result)that); return false; @@ -9150,7 +9146,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -9160,7 +9156,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -9623,8 +9619,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof existsAll_args) return this.equals((existsAll_args)that); return false; @@ -9680,7 +9674,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); + lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable()); if (lastComparison != 0) { return lastComparison; } @@ -9690,7 +9684,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTgets()).compareTo(other.isSetTgets()); + lastComparison = java.lang.Boolean.compare(isSetTgets(), other.isSetTgets()); if (lastComparison != 0) { return lastComparison; } @@ -9877,7 +9871,7 @@ public class THBaseService { struct.table = iprot.readBinary(); struct.setTableIsSet(true); { - org.apache.thrift.protocol.TList _list195 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list195 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.tgets = new java.util.ArrayList(_list195.size); @org.apache.thrift.annotation.Nullable TGet _elem196; for (int _i197 = 0; _i197 < _list195.size; ++_i197) @@ -10136,8 +10130,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof existsAll_result) return this.equals((existsAll_result)that); return false; @@ -10193,7 +10185,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -10203,7 +10195,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -10396,7 +10388,7 @@ public class THBaseService { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list203 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.BOOL, iprot.readI32()); + org.apache.thrift.protocol.TList _list203 = iprot.readListBegin(org.apache.thrift.protocol.TType.BOOL); struct.success = new java.util.ArrayList(_list203.size); boolean _elem204; for (int _i205 = 0; _i205 < _list203.size; ++_i205) @@ -10679,8 +10671,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof get_args) return this.equals((get_args)that); return false; @@ -10736,7 +10726,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); + lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable()); if (lastComparison != 0) { return lastComparison; } @@ -10746,7 +10736,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTget()).compareTo(other.isSetTget()); + lastComparison = java.lang.Boolean.compare(isSetTget(), other.isSetTget()); if (lastComparison != 0) { return lastComparison; } @@ -11145,8 +11135,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof get_result) return this.equals((get_result)that); return false; @@ -11202,7 +11190,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -11212,7 +11200,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -11690,8 +11678,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getMultiple_args) return this.equals((getMultiple_args)that); return false; @@ -11747,7 +11733,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); + lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable()); if (lastComparison != 0) { return lastComparison; } @@ -11757,7 +11743,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTgets()).compareTo(other.isSetTgets()); + lastComparison = java.lang.Boolean.compare(isSetTgets(), other.isSetTgets()); if (lastComparison != 0) { return lastComparison; } @@ -11944,7 +11930,7 @@ public class THBaseService { struct.table = iprot.readBinary(); struct.setTableIsSet(true); { - org.apache.thrift.protocol.TList _list211 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list211 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.tgets = new java.util.ArrayList(_list211.size); @org.apache.thrift.annotation.Nullable TGet _elem212; for (int _i213 = 0; _i213 < _list211.size; ++_i213) @@ -12206,8 +12192,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getMultiple_result) return this.equals((getMultiple_result)that); return false; @@ -12263,7 +12247,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -12273,7 +12257,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -12467,7 +12451,7 @@ public class THBaseService { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list219 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list219 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list219.size); @org.apache.thrift.annotation.Nullable TResult _elem220; for (int _i221 = 0; _i221 < _list219.size; ++_i221) @@ -12751,8 +12735,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof put_args) return this.equals((put_args)that); return false; @@ -12808,7 +12790,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); + lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable()); if (lastComparison != 0) { return lastComparison; } @@ -12818,7 +12800,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTput()).compareTo(other.isSetTput()); + lastComparison = java.lang.Boolean.compare(isSetTput(), other.isSetTput()); if (lastComparison != 0) { return lastComparison; } @@ -13166,8 +13148,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof put_result) return this.equals((put_result)that); return false; @@ -13210,7 +13190,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -13935,8 +13915,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof checkAndPut_args) return this.equals((checkAndPut_args)that); return false; @@ -14044,7 +14022,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); + lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable()); if (lastComparison != 0) { return lastComparison; } @@ -14054,7 +14032,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -14064,7 +14042,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetFamily()).compareTo(other.isSetFamily()); + lastComparison = java.lang.Boolean.compare(isSetFamily(), other.isSetFamily()); if (lastComparison != 0) { return lastComparison; } @@ -14074,7 +14052,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetQualifier()).compareTo(other.isSetQualifier()); + lastComparison = java.lang.Boolean.compare(isSetQualifier(), other.isSetQualifier()); if (lastComparison != 0) { return lastComparison; } @@ -14084,7 +14062,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); + lastComparison = java.lang.Boolean.compare(isSetValue(), other.isSetValue()); if (lastComparison != 0) { return lastComparison; } @@ -14094,7 +14072,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTput()).compareTo(other.isSetTput()); + lastComparison = java.lang.Boolean.compare(isSetTput(), other.isSetTput()); if (lastComparison != 0) { return lastComparison; } @@ -14609,8 +14587,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof checkAndPut_result) return this.equals((checkAndPut_result)that); return false; @@ -14664,7 +14640,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -14674,7 +14650,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -15137,8 +15113,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof putMultiple_args) return this.equals((putMultiple_args)that); return false; @@ -15194,7 +15168,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); + lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable()); if (lastComparison != 0) { return lastComparison; } @@ -15204,7 +15178,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTputs()).compareTo(other.isSetTputs()); + lastComparison = java.lang.Boolean.compare(isSetTputs(), other.isSetTputs()); if (lastComparison != 0) { return lastComparison; } @@ -15391,7 +15365,7 @@ public class THBaseService { struct.table = iprot.readBinary(); struct.setTableIsSet(true); { - org.apache.thrift.protocol.TList _list227 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list227 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.tputs = new java.util.ArrayList(_list227.size); @org.apache.thrift.annotation.Nullable TPut _elem228; for (int _i229 = 0; _i229 < _list227.size; ++_i229) @@ -15581,8 +15555,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof putMultiple_result) return this.equals((putMultiple_result)that); return false; @@ -15625,7 +15597,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -16038,8 +16010,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteSingle_args) return this.equals((deleteSingle_args)that); return false; @@ -16095,7 +16065,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); + lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable()); if (lastComparison != 0) { return lastComparison; } @@ -16105,7 +16075,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTdelete()).compareTo(other.isSetTdelete()); + lastComparison = java.lang.Boolean.compare(isSetTdelete(), other.isSetTdelete()); if (lastComparison != 0) { return lastComparison; } @@ -16453,8 +16423,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteSingle_result) return this.equals((deleteSingle_result)that); return false; @@ -16497,7 +16465,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -16931,8 +16899,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteMultiple_args) return this.equals((deleteMultiple_args)that); return false; @@ -16988,7 +16954,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); + lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable()); if (lastComparison != 0) { return lastComparison; } @@ -16998,7 +16964,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTdeletes()).compareTo(other.isSetTdeletes()); + lastComparison = java.lang.Boolean.compare(isSetTdeletes(), other.isSetTdeletes()); if (lastComparison != 0) { return lastComparison; } @@ -17185,7 +17151,7 @@ public class THBaseService { struct.table = iprot.readBinary(); struct.setTableIsSet(true); { - org.apache.thrift.protocol.TList _list235 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list235 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.tdeletes = new java.util.ArrayList(_list235.size); @org.apache.thrift.annotation.Nullable TDelete _elem236; for (int _i237 = 0; _i237 < _list235.size; ++_i237) @@ -17447,8 +17413,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteMultiple_result) return this.equals((deleteMultiple_result)that); return false; @@ -17504,7 +17468,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -17514,7 +17478,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -17708,7 +17672,7 @@ public class THBaseService { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list243 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list243 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list243.size); @org.apache.thrift.annotation.Nullable TDelete _elem244; for (int _i245 = 0; _i245 < _list243.size; ++_i245) @@ -18304,8 +18268,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof checkAndDelete_args) return this.equals((checkAndDelete_args)that); return false; @@ -18413,7 +18375,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); + lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable()); if (lastComparison != 0) { return lastComparison; } @@ -18423,7 +18385,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -18433,7 +18395,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetFamily()).compareTo(other.isSetFamily()); + lastComparison = java.lang.Boolean.compare(isSetFamily(), other.isSetFamily()); if (lastComparison != 0) { return lastComparison; } @@ -18443,7 +18405,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetQualifier()).compareTo(other.isSetQualifier()); + lastComparison = java.lang.Boolean.compare(isSetQualifier(), other.isSetQualifier()); if (lastComparison != 0) { return lastComparison; } @@ -18453,7 +18415,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); + lastComparison = java.lang.Boolean.compare(isSetValue(), other.isSetValue()); if (lastComparison != 0) { return lastComparison; } @@ -18463,7 +18425,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTdelete()).compareTo(other.isSetTdelete()); + lastComparison = java.lang.Boolean.compare(isSetTdelete(), other.isSetTdelete()); if (lastComparison != 0) { return lastComparison; } @@ -18978,8 +18940,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof checkAndDelete_result) return this.equals((checkAndDelete_result)that); return false; @@ -19033,7 +18993,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -19043,7 +19003,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -19485,8 +19445,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof increment_args) return this.equals((increment_args)that); return false; @@ -19542,7 +19500,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); + lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable()); if (lastComparison != 0) { return lastComparison; } @@ -19552,7 +19510,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTincrement()).compareTo(other.isSetTincrement()); + lastComparison = java.lang.Boolean.compare(isSetTincrement(), other.isSetTincrement()); if (lastComparison != 0) { return lastComparison; } @@ -19951,8 +19909,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof increment_result) return this.equals((increment_result)that); return false; @@ -20008,7 +19964,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -20018,7 +19974,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -20467,8 +20423,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof append_args) return this.equals((append_args)that); return false; @@ -20524,7 +20478,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); + lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable()); if (lastComparison != 0) { return lastComparison; } @@ -20534,7 +20488,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTappend()).compareTo(other.isSetTappend()); + lastComparison = java.lang.Boolean.compare(isSetTappend(), other.isSetTappend()); if (lastComparison != 0) { return lastComparison; } @@ -20933,8 +20887,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof append_result) return this.equals((append_result)that); return false; @@ -20990,7 +20942,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -21000,7 +20952,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -21449,8 +21401,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof openScanner_args) return this.equals((openScanner_args)that); return false; @@ -21506,7 +21456,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); + lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable()); if (lastComparison != 0) { return lastComparison; } @@ -21516,7 +21466,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTscan()).compareTo(other.isSetTscan()); + lastComparison = java.lang.Boolean.compare(isSetTscan(), other.isSetTscan()); if (lastComparison != 0) { return lastComparison; } @@ -21916,8 +21866,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof openScanner_result) return this.equals((openScanner_result)that); return false; @@ -21971,7 +21919,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -21981,7 +21929,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -22412,8 +22360,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getScannerRows_args) return this.equals((getScannerRows_args)that); return false; @@ -22465,7 +22411,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetScannerId()).compareTo(other.isSetScannerId()); + lastComparison = java.lang.Boolean.compare(isSetScannerId(), other.isSetScannerId()); if (lastComparison != 0) { return lastComparison; } @@ -22475,7 +22421,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetNumRows()).compareTo(other.isSetNumRows()); + lastComparison = java.lang.Boolean.compare(isSetNumRows(), other.isSetNumRows()); if (lastComparison != 0) { return lastComparison; } @@ -22951,8 +22897,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getScannerRows_result) return this.equals((getScannerRows_result)that); return false; @@ -23021,7 +22965,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -23031,7 +22975,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -23041,7 +22985,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -23263,7 +23207,7 @@ public class THBaseService { java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list251 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list251 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list251.size); @org.apache.thrift.annotation.Nullable TResult _elem252; for (int _i253 = 0; _i253 < _list251.size; ++_i253) @@ -23477,8 +23421,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof closeScanner_args) return this.equals((closeScanner_args)that); return false; @@ -23519,7 +23461,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetScannerId()).compareTo(other.isSetScannerId()); + lastComparison = java.lang.Boolean.compare(isSetScannerId(), other.isSetScannerId()); if (lastComparison != 0) { return lastComparison; } @@ -23895,8 +23837,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof closeScanner_result) return this.equals((closeScanner_result)that); return false; @@ -23952,7 +23892,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -23962,7 +23902,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -24408,8 +24348,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof mutateRow_args) return this.equals((mutateRow_args)that); return false; @@ -24465,7 +24403,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); + lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable()); if (lastComparison != 0) { return lastComparison; } @@ -24475,7 +24413,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTrowMutations()).compareTo(other.isSetTrowMutations()); + lastComparison = java.lang.Boolean.compare(isSetTrowMutations(), other.isSetTrowMutations()); if (lastComparison != 0) { return lastComparison; } @@ -24823,8 +24761,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof mutateRow_result) return this.equals((mutateRow_result)that); return false; @@ -24867,7 +24803,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -25346,8 +25282,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getScannerResults_args) return this.equals((getScannerResults_args)that); return false; @@ -25414,7 +25348,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); + lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable()); if (lastComparison != 0) { return lastComparison; } @@ -25424,7 +25358,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTscan()).compareTo(other.isSetTscan()); + lastComparison = java.lang.Boolean.compare(isSetTscan(), other.isSetTscan()); if (lastComparison != 0) { return lastComparison; } @@ -25434,7 +25368,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetNumRows()).compareTo(other.isSetNumRows()); + lastComparison = java.lang.Boolean.compare(isSetNumRows(), other.isSetNumRows()); if (lastComparison != 0) { return lastComparison; } @@ -25884,8 +25818,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getScannerResults_result) return this.equals((getScannerResults_result)that); return false; @@ -25941,7 +25873,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -25951,7 +25883,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -26145,7 +26077,7 @@ public class THBaseService { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list259 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list259 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list259.size); @org.apache.thrift.annotation.Nullable TResult _elem260; for (int _i261 = 0; _i261 < _list259.size; ++_i261) @@ -26470,8 +26402,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRegionLocation_args) return this.equals((getRegionLocation_args)that); return false; @@ -26538,7 +26468,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); + lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable()); if (lastComparison != 0) { return lastComparison; } @@ -26548,7 +26478,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -26558,7 +26488,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetReload()).compareTo(other.isSetReload()); + lastComparison = java.lang.Boolean.compare(isSetReload(), other.isSetReload()); if (lastComparison != 0) { return lastComparison; } @@ -26982,8 +26912,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getRegionLocation_result) return this.equals((getRegionLocation_result)that); return false; @@ -27039,7 +26967,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -27049,7 +26977,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -27423,8 +27351,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getAllRegionLocations_args) return this.equals((getAllRegionLocations_args)that); return false; @@ -27467,7 +27393,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); + lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable()); if (lastComparison != 0) { return lastComparison; } @@ -27855,8 +27781,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getAllRegionLocations_result) return this.equals((getAllRegionLocations_result)that); return false; @@ -27912,7 +27836,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -27922,7 +27846,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -28116,7 +28040,7 @@ public class THBaseService { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list267 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list267 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list267.size); @org.apache.thrift.annotation.Nullable THRegionLocation _elem268; for (int _i269 = 0; _i269 < _list267.size; ++_i269) @@ -28779,8 +28703,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof checkAndMutate_args) return this.equals((checkAndMutate_args)that); return false; @@ -28901,7 +28823,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); + lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable()); if (lastComparison != 0) { return lastComparison; } @@ -28911,7 +28833,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -28921,7 +28843,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetFamily()).compareTo(other.isSetFamily()); + lastComparison = java.lang.Boolean.compare(isSetFamily(), other.isSetFamily()); if (lastComparison != 0) { return lastComparison; } @@ -28931,7 +28853,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetQualifier()).compareTo(other.isSetQualifier()); + lastComparison = java.lang.Boolean.compare(isSetQualifier(), other.isSetQualifier()); if (lastComparison != 0) { return lastComparison; } @@ -28941,7 +28863,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetCompareOp()).compareTo(other.isSetCompareOp()); + lastComparison = java.lang.Boolean.compare(isSetCompareOp(), other.isSetCompareOp()); if (lastComparison != 0) { return lastComparison; } @@ -28951,7 +28873,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); + lastComparison = java.lang.Boolean.compare(isSetValue(), other.isSetValue()); if (lastComparison != 0) { return lastComparison; } @@ -28961,7 +28883,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRowMutations()).compareTo(other.isSetRowMutations()); + lastComparison = java.lang.Boolean.compare(isSetRowMutations(), other.isSetRowMutations()); if (lastComparison != 0) { return lastComparison; } @@ -29503,8 +29425,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof checkAndMutate_result) return this.equals((checkAndMutate_result)that); return false; @@ -29558,7 +29478,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -29568,7 +29488,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -29934,8 +29854,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getTableDescriptor_args) return this.equals((getTableDescriptor_args)that); return false; @@ -29978,7 +29896,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTable()).compareTo(other.isSetTable()); + lastComparison = java.lang.Boolean.compare(isSetTable(), other.isSetTable()); if (lastComparison != 0) { return lastComparison; } @@ -30350,8 +30268,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getTableDescriptor_result) return this.equals((getTableDescriptor_result)that); return false; @@ -30407,7 +30323,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -30417,7 +30333,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -30811,8 +30727,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getTableDescriptors_args) return this.equals((getTableDescriptors_args)that); return false; @@ -30855,7 +30769,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTables()).compareTo(other.isSetTables()); + lastComparison = java.lang.Boolean.compare(isSetTables(), other.isSetTables()); if (lastComparison != 0) { return lastComparison; } @@ -31015,7 +30929,7 @@ public class THBaseService { public void read(org.apache.thrift.protocol.TProtocol prot, getTableDescriptors_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list275 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list275 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.tables = new java.util.ArrayList(_list275.size); @org.apache.thrift.annotation.Nullable TTableName _elem276; for (int _i277 = 0; _i277 < _list275.size; ++_i277) @@ -31277,8 +31191,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getTableDescriptors_result) return this.equals((getTableDescriptors_result)that); return false; @@ -31334,7 +31246,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -31344,7 +31256,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -31538,7 +31450,7 @@ public class THBaseService { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list283 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list283 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list283.size); @org.apache.thrift.annotation.Nullable TTableDescriptor _elem284; for (int _i285 = 0; _i285 < _list283.size; ++_i285) @@ -31746,8 +31658,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof tableExists_args) return this.equals((tableExists_args)that); return false; @@ -31790,7 +31700,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -32170,8 +32080,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof tableExists_result) return this.equals((tableExists_result)that); return false; @@ -32225,7 +32133,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -32235,7 +32143,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -32665,8 +32573,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getTableDescriptorsByPattern_args) return this.equals((getTableDescriptorsByPattern_args)that); return false; @@ -32720,7 +32626,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetRegex()).compareTo(other.isSetRegex()); + lastComparison = java.lang.Boolean.compare(isSetRegex(), other.isSetRegex()); if (lastComparison != 0) { return lastComparison; } @@ -32730,7 +32636,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIncludeSysTables()).compareTo(other.isSetIncludeSysTables()); + lastComparison = java.lang.Boolean.compare(isSetIncludeSysTables(), other.isSetIncludeSysTables()); if (lastComparison != 0) { return lastComparison; } @@ -33149,8 +33055,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getTableDescriptorsByPattern_result) return this.equals((getTableDescriptorsByPattern_result)that); return false; @@ -33206,7 +33110,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -33216,7 +33120,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -33410,7 +33314,7 @@ public class THBaseService { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list291 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list291 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list291.size); @org.apache.thrift.annotation.Nullable TTableDescriptor _elem292; for (int _i293 = 0; _i293 < _list291.size; ++_i293) @@ -33618,8 +33522,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getTableDescriptorsByNamespace_args) return this.equals((getTableDescriptorsByNamespace_args)that); return false; @@ -33662,7 +33564,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetName()).compareTo(other.isSetName()); + lastComparison = java.lang.Boolean.compare(isSetName(), other.isSetName()); if (lastComparison != 0) { return lastComparison; } @@ -34050,8 +33952,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getTableDescriptorsByNamespace_result) return this.equals((getTableDescriptorsByNamespace_result)that); return false; @@ -34107,7 +34007,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -34117,7 +34017,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -34311,7 +34211,7 @@ public class THBaseService { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list299 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list299 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list299.size); @org.apache.thrift.annotation.Nullable TTableDescriptor _elem300; for (int _i301 = 0; _i301 < _list299.size; ++_i301) @@ -34583,8 +34483,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getTableNamesByPattern_args) return this.equals((getTableNamesByPattern_args)that); return false; @@ -34638,7 +34536,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetRegex()).compareTo(other.isSetRegex()); + lastComparison = java.lang.Boolean.compare(isSetRegex(), other.isSetRegex()); if (lastComparison != 0) { return lastComparison; } @@ -34648,7 +34546,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIncludeSysTables()).compareTo(other.isSetIncludeSysTables()); + lastComparison = java.lang.Boolean.compare(isSetIncludeSysTables(), other.isSetIncludeSysTables()); if (lastComparison != 0) { return lastComparison; } @@ -35067,8 +34965,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getTableNamesByPattern_result) return this.equals((getTableNamesByPattern_result)that); return false; @@ -35124,7 +35020,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -35134,7 +35030,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -35328,7 +35224,7 @@ public class THBaseService { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list307 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list307 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list307.size); @org.apache.thrift.annotation.Nullable TTableName _elem308; for (int _i309 = 0; _i309 < _list307.size; ++_i309) @@ -35536,8 +35432,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getTableNamesByNamespace_args) return this.equals((getTableNamesByNamespace_args)that); return false; @@ -35580,7 +35474,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetName()).compareTo(other.isSetName()); + lastComparison = java.lang.Boolean.compare(isSetName(), other.isSetName()); if (lastComparison != 0) { return lastComparison; } @@ -35968,8 +35862,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getTableNamesByNamespace_result) return this.equals((getTableNamesByNamespace_result)that); return false; @@ -36025,7 +35917,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -36035,7 +35927,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -36229,7 +36121,7 @@ public class THBaseService { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list315 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list315 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list315.size); @org.apache.thrift.annotation.Nullable TTableName _elem316; for (int _i317 = 0; _i317 < _list315.size; ++_i317) @@ -36518,8 +36410,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof createTable_args) return this.equals((createTable_args)that); return false; @@ -36575,7 +36465,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetDesc()).compareTo(other.isSetDesc()); + lastComparison = java.lang.Boolean.compare(isSetDesc(), other.isSetDesc()); if (lastComparison != 0) { return lastComparison; } @@ -36585,7 +36475,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetSplitKeys()).compareTo(other.isSetSplitKeys()); + lastComparison = java.lang.Boolean.compare(isSetSplitKeys(), other.isSetSplitKeys()); if (lastComparison != 0) { return lastComparison; } @@ -36782,7 +36672,7 @@ public class THBaseService { java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list323 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list323 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.splitKeys = new java.util.ArrayList(_list323.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem324; for (int _i325 = 0; _i325 < _list323.size; ++_i325) @@ -36972,8 +36862,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof createTable_result) return this.equals((createTable_result)that); return false; @@ -37016,7 +36904,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -37353,8 +37241,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteTable_args) return this.equals((deleteTable_args)that); return false; @@ -37397,7 +37283,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -37718,8 +37604,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteTable_result) return this.equals((deleteTable_result)that); return false; @@ -37762,7 +37646,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -38163,8 +38047,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof truncateTable_args) return this.equals((truncateTable_args)that); return false; @@ -38218,7 +38100,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -38228,7 +38110,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetPreserveSplits()).compareTo(other.isSetPreserveSplits()); + lastComparison = java.lang.Boolean.compare(isSetPreserveSplits(), other.isSetPreserveSplits()); if (lastComparison != 0) { return lastComparison; } @@ -38573,8 +38455,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof truncateTable_result) return this.equals((truncateTable_result)that); return false; @@ -38617,7 +38497,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -38954,8 +38834,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof enableTable_args) return this.equals((enableTable_args)that); return false; @@ -38998,7 +38876,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -39319,8 +39197,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof enableTable_result) return this.equals((enableTable_result)that); return false; @@ -39363,7 +39239,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -39700,8 +39576,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof disableTable_args) return this.equals((disableTable_args)that); return false; @@ -39744,7 +39618,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -40065,8 +39939,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof disableTable_result) return this.equals((disableTable_result)that); return false; @@ -40109,7 +39981,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -40446,8 +40318,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof isTableEnabled_args) return this.equals((isTableEnabled_args)that); return false; @@ -40490,7 +40360,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -40863,8 +40733,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof isTableEnabled_result) return this.equals((isTableEnabled_result)that); return false; @@ -40918,7 +40786,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -40928,7 +40796,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -41294,8 +41162,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof isTableDisabled_args) return this.equals((isTableDisabled_args)that); return false; @@ -41338,7 +41204,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -41711,8 +41577,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof isTableDisabled_result) return this.equals((isTableDisabled_result)that); return false; @@ -41766,7 +41630,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -41776,7 +41640,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -42142,8 +42006,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof isTableAvailable_args) return this.equals((isTableAvailable_args)that); return false; @@ -42186,7 +42048,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -42559,8 +42421,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof isTableAvailable_result) return this.equals((isTableAvailable_result)that); return false; @@ -42614,7 +42474,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -42624,7 +42484,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -43071,8 +42931,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof isTableAvailableWithSplit_args) return this.equals((isTableAvailableWithSplit_args)that); return false; @@ -43128,7 +42986,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -43138,7 +42996,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetSplitKeys()).compareTo(other.isSetSplitKeys()); + lastComparison = java.lang.Boolean.compare(isSetSplitKeys(), other.isSetSplitKeys()); if (lastComparison != 0) { return lastComparison; } @@ -43335,7 +43193,7 @@ public class THBaseService { java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list331 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list331 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.splitKeys = new java.util.ArrayList(_list331.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem332; for (int _i333 = 0; _i333 < _list331.size; ++_i333) @@ -43577,8 +43435,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof isTableAvailableWithSplit_result) return this.equals((isTableAvailableWithSplit_result)that); return false; @@ -43632,7 +43488,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -43642,7 +43498,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -44071,8 +43927,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof addColumnFamily_args) return this.equals((addColumnFamily_args)that); return false; @@ -44128,7 +43982,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -44138,7 +43992,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -44491,8 +44345,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof addColumnFamily_result) return this.equals((addColumnFamily_result)that); return false; @@ -44535,7 +44387,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -44948,8 +44800,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteColumnFamily_args) return this.equals((deleteColumnFamily_args)that); return false; @@ -45005,7 +44855,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -45015,7 +44865,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -45363,8 +45213,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteColumnFamily_result) return this.equals((deleteColumnFamily_result)that); return false; @@ -45407,7 +45255,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -45807,8 +45655,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof modifyColumnFamily_args) return this.equals((modifyColumnFamily_args)that); return false; @@ -45864,7 +45710,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -45874,7 +45720,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -46227,8 +46073,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof modifyColumnFamily_result) return this.equals((modifyColumnFamily_result)that); return false; @@ -46271,7 +46115,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -46608,8 +46452,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof modifyTable_args) return this.equals((modifyTable_args)that); return false; @@ -46652,7 +46494,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetDesc()).compareTo(other.isSetDesc()); + lastComparison = java.lang.Boolean.compare(isSetDesc(), other.isSetDesc()); if (lastComparison != 0) { return lastComparison; } @@ -46973,8 +46815,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof modifyTable_result) return this.equals((modifyTable_result)that); return false; @@ -47017,7 +46857,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -47354,8 +47194,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof createNamespace_args) return this.equals((createNamespace_args)that); return false; @@ -47398,7 +47236,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetNamespaceDesc()).compareTo(other.isSetNamespaceDesc()); + lastComparison = java.lang.Boolean.compare(isSetNamespaceDesc(), other.isSetNamespaceDesc()); if (lastComparison != 0) { return lastComparison; } @@ -47719,8 +47557,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof createNamespace_result) return this.equals((createNamespace_result)that); return false; @@ -47763,7 +47599,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -48100,8 +47936,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof modifyNamespace_args) return this.equals((modifyNamespace_args)that); return false; @@ -48144,7 +47978,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetNamespaceDesc()).compareTo(other.isSetNamespaceDesc()); + lastComparison = java.lang.Boolean.compare(isSetNamespaceDesc(), other.isSetNamespaceDesc()); if (lastComparison != 0) { return lastComparison; } @@ -48465,8 +48299,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof modifyNamespace_result) return this.equals((modifyNamespace_result)that); return false; @@ -48509,7 +48341,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -48846,8 +48678,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteNamespace_args) return this.equals((deleteNamespace_args)that); return false; @@ -48890,7 +48720,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetName()).compareTo(other.isSetName()); + lastComparison = java.lang.Boolean.compare(isSetName(), other.isSetName()); if (lastComparison != 0) { return lastComparison; } @@ -49206,8 +49036,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof deleteNamespace_result) return this.equals((deleteNamespace_result)that); return false; @@ -49250,7 +49078,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -49587,8 +49415,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getNamespaceDescriptor_args) return this.equals((getNamespaceDescriptor_args)that); return false; @@ -49631,7 +49457,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetName()).compareTo(other.isSetName()); + lastComparison = java.lang.Boolean.compare(isSetName(), other.isSetName()); if (lastComparison != 0) { return lastComparison; } @@ -49998,8 +49824,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getNamespaceDescriptor_result) return this.equals((getNamespaceDescriptor_result)that); return false; @@ -50055,7 +49879,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -50065,7 +49889,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -50369,8 +50193,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof listNamespaceDescriptors_args) return this.equals((listNamespaceDescriptors_args)that); return false; @@ -50752,8 +50574,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof listNamespaceDescriptors_result) return this.equals((listNamespaceDescriptors_result)that); return false; @@ -50809,7 +50629,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -50819,7 +50639,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -51013,7 +50833,7 @@ public class THBaseService { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list339 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list339 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list339.size); @org.apache.thrift.annotation.Nullable TNamespaceDescriptor _elem340; for (int _i341 = 0; _i341 < _list339.size; ++_i341) @@ -51152,8 +50972,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof listNamespaces_args) return this.equals((listNamespaces_args)that); return false; @@ -51532,8 +51350,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof listNamespaces_result) return this.equals((listNamespaces_result)that); return false; @@ -51589,7 +51405,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -51599,7 +51415,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -51792,7 +51608,7 @@ public class THBaseService { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list347 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list347 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.success = new java.util.ArrayList(_list347.size); @org.apache.thrift.annotation.Nullable java.lang.String _elem348; for (int _i349 = 0; _i349 < _list347.size; ++_i349) @@ -51930,8 +51746,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getThriftServerType_args) return this.equals((getThriftServerType_args)that); return false; @@ -52257,8 +52071,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getThriftServerType_result) return this.equals((getThriftServerType_result)that); return false; @@ -52301,7 +52113,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -52720,8 +52532,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getSlowLogResponses_args) return this.equals((getSlowLogResponses_args)that); return false; @@ -52777,7 +52587,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetServerNames()).compareTo(other.isSetServerNames()); + lastComparison = java.lang.Boolean.compare(isSetServerNames(), other.isSetServerNames()); if (lastComparison != 0) { return lastComparison; } @@ -52787,7 +52597,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetLogQueryFilter()).compareTo(other.isSetLogQueryFilter()); + lastComparison = java.lang.Boolean.compare(isSetLogQueryFilter(), other.isSetLogQueryFilter()); if (lastComparison != 0) { return lastComparison; } @@ -52984,7 +52794,7 @@ public class THBaseService { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set355 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TSet _set355 = iprot.readSetBegin(org.apache.thrift.protocol.TType.STRUCT); struct.serverNames = new java.util.HashSet(2*_set355.size); @org.apache.thrift.annotation.Nullable TServerName _elem356; for (int _i357 = 0; _i357 < _set355.size; ++_i357) @@ -53252,8 +53062,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getSlowLogResponses_result) return this.equals((getSlowLogResponses_result)that); return false; @@ -53309,7 +53117,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -53319,7 +53127,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -53513,7 +53321,7 @@ public class THBaseService { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list363 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list363 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.success = new java.util.ArrayList(_list363.size); @org.apache.thrift.annotation.Nullable TOnlineLogRecord _elem364; for (int _i365 = 0; _i365 < _list363.size; ++_i365) @@ -53742,8 +53550,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof clearSlowLogResponses_args) return this.equals((clearSlowLogResponses_args)that); return false; @@ -53786,7 +53592,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetServerNames()).compareTo(other.isSetServerNames()); + lastComparison = java.lang.Boolean.compare(isSetServerNames(), other.isSetServerNames()); if (lastComparison != 0) { return lastComparison; } @@ -53952,7 +53758,7 @@ public class THBaseService { java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set371 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TSet _set371 = iprot.readSetBegin(org.apache.thrift.protocol.TType.STRUCT); struct.serverNames = new java.util.HashSet(2*_set371.size); @org.apache.thrift.annotation.Nullable TServerName _elem372; for (int _i373 = 0; _i373 < _set371.size; ++_i373) @@ -54212,8 +54018,6 @@ public class THBaseService { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof clearSlowLogResponses_result) return this.equals((clearSlowLogResponses_result)that); return false; @@ -54269,7 +54073,7 @@ public class THBaseService { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = java.lang.Boolean.compare(isSetSuccess(), other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } @@ -54279,7 +54083,7 @@ public class THBaseService { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -54472,7 +54276,7 @@ public class THBaseService { java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list379 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.BOOL, iprot.readI32()); + org.apache.thrift.protocol.TList _list379 = iprot.readListBegin(org.apache.thrift.protocol.TType.BOOL); struct.success = new java.util.ArrayList(_list379.size); boolean _elem380; for (int _i381 = 0; _i381 < _list379.size; ++_i381) diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/THRegionInfo.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/THRegionInfo.java index c2b2e8dc4a3..76b49cad4ef 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/THRegionInfo.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/THRegionInfo.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,7 +7,7 @@ package org.apache.hadoop.hbase.thrift2.generated; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class THRegionInfo implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("THRegionInfo"); @@ -510,8 +510,6 @@ public class THRegionInfo implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("THRegionLocation"); @@ -230,8 +230,6 @@ public class THRegionLocation implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TIOError"); @@ -178,8 +178,6 @@ public class TIOError extends org.apache.thrift.TException implements org.apache @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TIOError) return this.equals((TIOError)that); return false; @@ -222,7 +220,7 @@ public class TIOError extends org.apache.thrift.TException implements org.apache int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); + lastComparison = java.lang.Boolean.compare(isSetMessage(), other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TIllegalArgument.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TIllegalArgument.java index 58bc58a6448..a296f9d4d5c 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TIllegalArgument.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TIllegalArgument.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated; * A TIllegalArgument exception indicates an illegal or invalid * argument was passed into a procedure. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class TIllegalArgument extends org.apache.thrift.TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TIllegalArgument"); @@ -177,8 +177,6 @@ public class TIllegalArgument extends org.apache.thrift.TException implements or @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TIllegalArgument) return this.equals((TIllegalArgument)that); return false; @@ -221,7 +219,7 @@ public class TIllegalArgument extends org.apache.thrift.TException implements or int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); + lastComparison = java.lang.Boolean.compare(isSetMessage(), other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TIncrement.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TIncrement.java index dfc84a918f0..c9b24519edc 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TIncrement.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TIncrement.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -14,7 +14,7 @@ package org.apache.hadoop.hbase.thrift2.generated; * by changing the durability. If you don't provide durability, it defaults to * column family's default setting for durability. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class TIncrement implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TIncrement"); @@ -498,8 +498,6 @@ public class TIncrement implements org.apache.thrift.TBase(_list81.size); @org.apache.thrift.annotation.Nullable TColumnIncrement _elem82; for (int _i83 = 0; _i83 < _list81.size; ++_i83) @@ -1011,7 +1009,7 @@ public class TIncrement implements org.apache.thrift.TBase(2*_map84.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key85; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val86; diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TKeepDeletedCells.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TKeepDeletedCells.java index cfdfce22007..ea4876814bf 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TKeepDeletedCells.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TKeepDeletedCells.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated; * Thrift wrapper around * org.apache.hadoop.hbase.KeepDeletedCells */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public enum TKeepDeletedCells implements org.apache.thrift.TEnum { /** * Deleted Cells are not retained. diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TLogQueryFilter.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TLogQueryFilter.java index 54d210838a6..5afbfe50414 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TLogQueryFilter.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TLogQueryFilter.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated; * Thrift wrapper around * org.apache.hadoop.hbase.client.LogQueryFilter */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class TLogQueryFilter implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TLogQueryFilter"); @@ -511,8 +511,6 @@ public class TLogQueryFilter implements org.apache.thrift.TBase { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TMutation"); private static final org.apache.thrift.protocol.TField PUT_FIELD_DESC = new org.apache.thrift.protocol.TField("put", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -262,9 +262,8 @@ public class TMutation extends org.apache.thrift.TUnion, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TNamespaceDescriptor"); @@ -247,8 +247,6 @@ public class TNamespaceDescriptor implements org.apache.thrift.TBase(2*_map186.size); @org.apache.thrift.annotation.Nullable java.lang.String _key187; @org.apache.thrift.annotation.Nullable java.lang.String _val188; diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TOnlineLogRecord.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TOnlineLogRecord.java index f3e872bba4e..8686c10df70 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TOnlineLogRecord.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TOnlineLogRecord.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated; * Thrift wrapper around * org.apache.hadoop.hbase.client.OnlineLogRecordrd */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class TOnlineLogRecord implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TOnlineLogRecord"); @@ -840,8 +840,6 @@ public class TOnlineLogRecord implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TPut"); @@ -503,8 +503,6 @@ public class TPut implements org.apache.thrift.TBase, java.i @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TPut) return this.equals((TPut)that); return false; @@ -612,7 +610,7 @@ public class TPut implements org.apache.thrift.TBase, java.i int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -622,7 +620,7 @@ public class TPut implements org.apache.thrift.TBase, java.i return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumnValues()).compareTo(other.isSetColumnValues()); + lastComparison = java.lang.Boolean.compare(isSetColumnValues(), other.isSetColumnValues()); if (lastComparison != 0) { return lastComparison; } @@ -632,7 +630,7 @@ public class TPut implements org.apache.thrift.TBase, java.i return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -642,7 +640,7 @@ public class TPut implements org.apache.thrift.TBase, java.i return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -652,7 +650,7 @@ public class TPut implements org.apache.thrift.TBase, java.i return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetDurability()).compareTo(other.isSetDurability()); + lastComparison = java.lang.Boolean.compare(isSetDurability(), other.isSetDurability()); if (lastComparison != 0) { return lastComparison; } @@ -662,7 +660,7 @@ public class TPut implements org.apache.thrift.TBase, java.i return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetCellVisibility()).compareTo(other.isSetCellVisibility()); + lastComparison = java.lang.Boolean.compare(isSetCellVisibility(), other.isSetCellVisibility()); if (lastComparison != 0) { return lastComparison; } @@ -1002,7 +1000,7 @@ public class TPut implements org.apache.thrift.TBase, java.i struct.row = iprot.readBinary(); struct.setRowIsSet(true); { - org.apache.thrift.protocol.TList _list45 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list45 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.columnValues = new java.util.ArrayList(_list45.size); @org.apache.thrift.annotation.Nullable TColumnValue _elem46; for (int _i47 = 0; _i47 < _list45.size; ++_i47) @@ -1020,7 +1018,7 @@ public class TPut implements org.apache.thrift.TBase, java.i } if (incoming.get(1)) { { - org.apache.thrift.protocol.TMap _map48 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map48 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map48.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key49; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val50; diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TReadType.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TReadType.java index 772bc632510..b183b3deb7f 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TReadType.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TReadType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,7 +7,7 @@ package org.apache.hadoop.hbase.thrift2.generated; -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public enum TReadType implements org.apache.thrift.TEnum { DEFAULT(1), STREAM(2), diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TResult.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TResult.java index 8fae285ef0f..15026250eb3 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TResult.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TResult.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift2.generated; /** * if no Result is found, row and columnValues will not be set. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class TResult implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TResult"); @@ -366,8 +366,6 @@ public class TResult implements org.apache.thrift.TBase(_list5.size); @org.apache.thrift.annotation.Nullable TColumnValue _elem6; for (int _i7 = 0; _i7 < _list5.size; ++_i7) diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TRowMutations.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TRowMutations.java index f377e2d51d2..12f3e08ed97 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TRowMutations.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TRowMutations.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ package org.apache.hadoop.hbase.thrift2.generated; /** * A TRowMutations object is used to apply a number of Mutations to a single row. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class TRowMutations implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRowMutations"); @@ -267,8 +267,6 @@ public class TRowMutations implements org.apache.thrift.TBase(_list139.size); @org.apache.thrift.annotation.Nullable TMutation _elem140; for (int _i141 = 0; _i141 < _list139.size; ++_i141) diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TScan.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TScan.java index e17bd5f2f0d..ee07294922e 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TScan.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TScan.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated; * Any timestamps in the columns are ignored but the colFamTimeRangeMap included, use timeRange to select by timestamp. * Max versions defaults to 1. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class TScan implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TScan"); @@ -1144,8 +1144,6 @@ public class TScan implements org.apache.thrift.TBase, jav @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TScan) return this.equals((TScan)that); return false; @@ -1409,7 +1407,7 @@ public class TScan implements org.apache.thrift.TBase, jav int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetStartRow()).compareTo(other.isSetStartRow()); + lastComparison = java.lang.Boolean.compare(isSetStartRow(), other.isSetStartRow()); if (lastComparison != 0) { return lastComparison; } @@ -1419,7 +1417,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStopRow()).compareTo(other.isSetStopRow()); + lastComparison = java.lang.Boolean.compare(isSetStopRow(), other.isSetStopRow()); if (lastComparison != 0) { return lastComparison; } @@ -1429,7 +1427,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -1439,7 +1437,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetCaching()).compareTo(other.isSetCaching()); + lastComparison = java.lang.Boolean.compare(isSetCaching(), other.isSetCaching()); if (lastComparison != 0) { return lastComparison; } @@ -1449,7 +1447,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetMaxVersions()).compareTo(other.isSetMaxVersions()); + lastComparison = java.lang.Boolean.compare(isSetMaxVersions(), other.isSetMaxVersions()); if (lastComparison != 0) { return lastComparison; } @@ -1459,7 +1457,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimeRange()).compareTo(other.isSetTimeRange()); + lastComparison = java.lang.Boolean.compare(isSetTimeRange(), other.isSetTimeRange()); if (lastComparison != 0) { return lastComparison; } @@ -1469,7 +1467,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetFilterString()).compareTo(other.isSetFilterString()); + lastComparison = java.lang.Boolean.compare(isSetFilterString(), other.isSetFilterString()); if (lastComparison != 0) { return lastComparison; } @@ -1479,7 +1477,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetBatchSize()).compareTo(other.isSetBatchSize()); + lastComparison = java.lang.Boolean.compare(isSetBatchSize(), other.isSetBatchSize()); if (lastComparison != 0) { return lastComparison; } @@ -1489,7 +1487,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -1499,7 +1497,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAuthorizations()).compareTo(other.isSetAuthorizations()); + lastComparison = java.lang.Boolean.compare(isSetAuthorizations(), other.isSetAuthorizations()); if (lastComparison != 0) { return lastComparison; } @@ -1509,7 +1507,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetReversed()).compareTo(other.isSetReversed()); + lastComparison = java.lang.Boolean.compare(isSetReversed(), other.isSetReversed()); if (lastComparison != 0) { return lastComparison; } @@ -1519,7 +1517,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetCacheBlocks()).compareTo(other.isSetCacheBlocks()); + lastComparison = java.lang.Boolean.compare(isSetCacheBlocks(), other.isSetCacheBlocks()); if (lastComparison != 0) { return lastComparison; } @@ -1529,7 +1527,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColFamTimeRangeMap()).compareTo(other.isSetColFamTimeRangeMap()); + lastComparison = java.lang.Boolean.compare(isSetColFamTimeRangeMap(), other.isSetColFamTimeRangeMap()); if (lastComparison != 0) { return lastComparison; } @@ -1539,7 +1537,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetReadType()).compareTo(other.isSetReadType()); + lastComparison = java.lang.Boolean.compare(isSetReadType(), other.isSetReadType()); if (lastComparison != 0) { return lastComparison; } @@ -1549,7 +1547,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetLimit()).compareTo(other.isSetLimit()); + lastComparison = java.lang.Boolean.compare(isSetLimit(), other.isSetLimit()); if (lastComparison != 0) { return lastComparison; } @@ -1559,7 +1557,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetConsistency()).compareTo(other.isSetConsistency()); + lastComparison = java.lang.Boolean.compare(isSetConsistency(), other.isSetConsistency()); if (lastComparison != 0) { return lastComparison; } @@ -1569,7 +1567,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTargetReplicaId()).compareTo(other.isSetTargetReplicaId()); + lastComparison = java.lang.Boolean.compare(isSetTargetReplicaId(), other.isSetTargetReplicaId()); if (lastComparison != 0) { return lastComparison; } @@ -1579,7 +1577,7 @@ public class TScan implements org.apache.thrift.TBase, jav return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetFilterBytes()).compareTo(other.isSetFilterBytes()); + lastComparison = java.lang.Boolean.compare(isSetFilterBytes(), other.isSetFilterBytes()); if (lastComparison != 0) { return lastComparison; } @@ -2307,7 +2305,7 @@ public class TScan implements org.apache.thrift.TBase, jav } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list123 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list123 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.columns = new java.util.ArrayList(_list123.size); @org.apache.thrift.annotation.Nullable TColumn _elem124; for (int _i125 = 0; _i125 < _list123.size; ++_i125) @@ -2342,7 +2340,7 @@ public class TScan implements org.apache.thrift.TBase, jav } if (incoming.get(8)) { { - org.apache.thrift.protocol.TMap _map126 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TMap _map126 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(2*_map126.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key127; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val128; @@ -2370,7 +2368,7 @@ public class TScan implements org.apache.thrift.TBase, jav } if (incoming.get(12)) { { - org.apache.thrift.protocol.TMap _map130 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TMap _map130 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT); struct.colFamTimeRangeMap = new java.util.HashMap(2*_map130.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key131; @org.apache.thrift.annotation.Nullable TTimeRange _val132; diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TServerName.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TServerName.java index e5fb933ea8f..e84788bdd4d 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TServerName.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TServerName.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,7 +7,7 @@ package org.apache.hadoop.hbase.thrift2.generated; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class TServerName implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TServerName"); @@ -276,8 +276,6 @@ public class TServerName implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTableDescriptor"); @@ -382,8 +382,6 @@ public class TTableDescriptor implements org.apache.thrift.TBase(_list173.size); @org.apache.thrift.annotation.Nullable TColumnFamilyDescriptor _elem174; for (int _i175 = 0; _i175 < _list173.size; ++_i175) @@ -800,7 +798,7 @@ public class TTableDescriptor implements org.apache.thrift.TBase(2*_map176.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key177; @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _val178; diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TTableName.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TTableName.java index 23eea20d663..08c773e941c 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TTableName.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TTableName.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ package org.apache.hadoop.hbase.thrift2.generated; * Thrift wrapper around * org.apache.hadoop.hbase.TableName */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-15") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2021-03-24") public class TTableName implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTableName"); @@ -283,8 +283,6 @@ public class TTableName implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTimeRange"); @@ -230,8 +230,6 @@ public class TTimeRange implements org.apache.thrift.TBase2.5.0 0.6.1 thrift - 0.13.0 + 0.14.1 3.5.7 2.11 1.7.30