From 0cf5287a7d41a4c8887daab1f457241883db0bbd Mon Sep 17 00:00:00 2001 From: Pankaj Kumar Date: Mon, 15 Feb 2021 18:27:32 +0530 Subject: [PATCH 1/6] HBASE-25568 Upgrade Thrift jar to fix CVE-2020-13949 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 43b4080597ed..f10b662faba9 100755 --- a/pom.xml +++ b/pom.xml @@ -1648,7 +1648,7 @@ 2.28.2 0.6.1 thrift - 0.13.0 + 0.14.0 3.5.7 2.11 1.7.30 From 9f2dd095e256f836e42a3498e3871aafd4cbbc39 Mon Sep 17 00:00:00 2001 From: Pankaj Kumar Date: Tue, 2 Mar 2021 13:00:46 +0530 Subject: [PATCH 2/6] HBASE-25568 Handled the compilation issue caused by 0.14.0 upgrade --- .../hadoop/hbase/thrift2/DemoClient.java | 12 ++++++++++-- .../hadoop/hbase/thrift/ThriftServer.java | 2 +- .../hbase/thrift2/client/ThriftConnection.java | 18 ++++++++++-------- .../hbase/thrift/TestThriftServerCmdLine.java | 2 +- .../thrift2/TestThrift2ServerCmdLine.java | 2 +- 5 files changed, 23 insertions(+), 13 deletions(-) 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 9963293e7bc1..a9e653105a63 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 @@ -18,6 +18,7 @@ */ package org.apache.hadoop.hbase.thrift2; +import java.io.IOException; import java.nio.ByteBuffer; import java.security.PrivilegedExceptionAction; import java.util.ArrayList; @@ -35,9 +36,11 @@ 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.TTransportException; +import org.apache.thrift.transport.layered.TFramedTransport; import org.apache.thrift.transport.TSaslClientTransport; import org.apache.thrift.transport.TSocket; import org.apache.thrift.transport.TTransport; @@ -90,8 +93,13 @@ public Void run() throws Exception { public void run() throws Exception { int timeout = 10000; boolean framed = false; + TTransport transport = null; + try { + transport = new TSocket(new TConfiguration(), host, port, timeout); + } catch (TTransportException e) { + throw new IOException(e); + } - TTransport transport = new TSocket(host, port, timeout); if (framed) { transport = new TFramedTransport(transport); } else if (secure) { 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 9ba4e5438407..2a95f3a63b11 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,7 +120,7 @@ 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.layered.TFramedTransport; import org.apache.thrift.transport.TNonblockingServerSocket; import org.apache.thrift.transport.TNonblockingServerTransport; import org.apache.thrift.transport.TSaslServerTransport; 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 ff1a79d8025d..9f21305cf78b 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,7 +58,7 @@ 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.layered.TFramedTransport; import org.apache.thrift.transport.THttpClient; import org.apache.thrift.transport.TSocket; import org.apache.thrift.transport.TTransport; @@ -160,14 +160,16 @@ public static class DefaultThriftClientBuilder extends ThriftClientBuilder { @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/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java index 8c2b94f68102..6010cb10d36a 100644 --- a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java +++ b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java @@ -46,7 +46,7 @@ import org.apache.thrift.protocol.TCompactProtocol; import org.apache.thrift.protocol.TProtocol; import org.apache.thrift.server.TServer; -import org.apache.thrift.transport.TFramedTransport; +import org.apache.thrift.transport.layered.TFramedTransport; import org.apache.thrift.transport.TSocket; import org.apache.thrift.transport.TTransport; import org.junit.AfterClass; diff --git a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThrift2ServerCmdLine.java b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThrift2ServerCmdLine.java index 47cc053d99d3..af9554f67eed 100644 --- a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThrift2ServerCmdLine.java +++ b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThrift2ServerCmdLine.java @@ -35,7 +35,7 @@ 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.layered.TFramedTransport; import org.apache.thrift.transport.TSocket; import org.apache.thrift.transport.TTransport; import org.junit.Assert; From ca0a263bfd178136be0dde9f3086e095d802eebd Mon Sep 17 00:00:00 2001 From: Pankaj Kumar Date: Tue, 2 Mar 2021 15:34:13 +0530 Subject: [PATCH 3/6] HBASE-25568 Corrected import order --- .../main/java/org/apache/hadoop/hbase/thrift2/DemoClient.java | 4 ++-- .../java/org/apache/hadoop/hbase/thrift/ThriftServer.java | 4 ++-- .../apache/hadoop/hbase/thrift2/client/ThriftConnection.java | 2 +- .../apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java | 2 +- .../apache/hadoop/hbase/thrift2/TestThrift2ServerCmdLine.java | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) 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 a9e653105a63..1ab2f8dcd377 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 @@ -39,11 +39,11 @@ import org.apache.thrift.TConfiguration; import org.apache.thrift.protocol.TBinaryProtocol; import org.apache.thrift.protocol.TProtocol; -import org.apache.thrift.transport.TTransportException; -import org.apache.thrift.transport.layered.TFramedTransport; import org.apache.thrift.transport.TSaslClientTransport; 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; @InterfaceAudience.Private 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 2a95f3a63b11..e8a0674a6dc3 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.TServer; import org.apache.thrift.server.TServlet; import org.apache.thrift.server.TThreadedSelectorServer; -import org.apache.thrift.transport.layered.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 @@ protected void setupServer() throws Exception { + " 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/thrift2/client/ThriftConnection.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/client/ThriftConnection.java index 9f21305cf78b..0e58afe4acbd 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.thrift.protocol.TBinaryProtocol; import org.apache.thrift.protocol.TCompactProtocol; import org.apache.thrift.protocol.TProtocol; -import org.apache.thrift.transport.layered.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.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java index 6010cb10d36a..d9bcc869777e 100644 --- a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java +++ b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServerCmdLine.java @@ -46,9 +46,9 @@ import org.apache.thrift.protocol.TCompactProtocol; import org.apache.thrift.protocol.TProtocol; import org.apache.thrift.server.TServer; -import org.apache.thrift.transport.layered.TFramedTransport; import org.apache.thrift.transport.TSocket; import org.apache.thrift.transport.TTransport; +import org.apache.thrift.transport.layered.TFramedTransport; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.ClassRule; diff --git a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThrift2ServerCmdLine.java b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThrift2ServerCmdLine.java index af9554f67eed..5ab96f60ec6a 100644 --- a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThrift2ServerCmdLine.java +++ b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThrift2ServerCmdLine.java @@ -35,9 +35,9 @@ import org.apache.thrift.protocol.TBinaryProtocol; import org.apache.thrift.protocol.TCompactProtocol; import org.apache.thrift.protocol.TProtocol; -import org.apache.thrift.transport.layered.TFramedTransport; import org.apache.thrift.transport.TSocket; import org.apache.thrift.transport.TTransport; +import org.apache.thrift.transport.layered.TFramedTransport; import org.junit.Assert; import org.junit.ClassRule; import org.junit.experimental.categories.Category; From 5c79798eda7e5b4fa1b67705fe266d5d67c2bac1 Mon Sep 17 00:00:00 2001 From: Pankaj Date: Tue, 2 Mar 2021 18:59:39 +0530 Subject: [PATCH 4/6] HBASE-25568 Recompiled the thrift files using 0.14.0 Thrift compiler --- hbase-thrift/pom.xml | 4 +- .../hbase/thrift/generated/AlreadyExists.java | 8 +- .../hbase/thrift/generated/BatchMutation.java | 12 +- .../thrift/generated/ColumnDescriptor.java | 24 +- .../hadoop/hbase/thrift/generated/Hbase.java | 748 +++++++----------- .../hbase/thrift/generated/IOError.java | 8 +- .../thrift/generated/IllegalArgument.java | 8 +- .../hbase/thrift/generated/Mutation.java | 14 +- .../hbase/thrift/generated/TAppend.java | 18 +- .../hadoop/hbase/thrift/generated/TCell.java | 10 +- .../hbase/thrift/generated/TColumn.java | 10 +- .../hbase/thrift/generated/TIncrement.java | 14 +- .../hbase/thrift/generated/TRegionInfo.java | 20 +- .../hbase/thrift/generated/TRowResult.java | 16 +- .../hadoop/hbase/thrift/generated/TScan.java | 28 +- .../thrift/generated/TThriftServerType.java | 4 +- .../hbase/thrift2/generated/TAppend.java | 22 +- .../thrift2/generated/TAuthorization.java | 10 +- .../thrift2/generated/TBloomFilterType.java | 4 +- .../thrift2/generated/TCellVisibility.java | 8 +- .../hbase/thrift2/generated/TColumn.java | 12 +- .../generated/TColumnFamilyDescriptor.java | 50 +- .../thrift2/generated/TColumnIncrement.java | 12 +- .../hbase/thrift2/generated/TColumnValue.java | 18 +- .../thrift2/generated/TCompareOperator.java | 4 +- .../generated/TCompressionAlgorithm.java | 4 +- .../hbase/thrift2/generated/TConsistency.java | 4 +- .../thrift2/generated/TDataBlockEncoding.java | 4 +- .../hbase/thrift2/generated/TDelete.java | 22 +- .../hbase/thrift2/generated/TDeleteType.java | 4 +- .../hbase/thrift2/generated/TDurability.java | 4 +- .../thrift2/generated/TFilterByOperator.java | 4 +- .../hadoop/hbase/thrift2/generated/TGet.java | 40 +- .../thrift2/generated/THBaseService.java | 594 +++++--------- .../hbase/thrift2/generated/THRegionInfo.java | 20 +- .../thrift2/generated/THRegionLocation.java | 10 +- .../hbase/thrift2/generated/TIOError.java | 8 +- .../thrift2/generated/TIllegalArgument.java | 8 +- .../hbase/thrift2/generated/TIncrement.java | 22 +- .../thrift2/generated/TKeepDeletedCells.java | 4 +- .../thrift2/generated/TLogQueryFilter.java | 20 +- .../hbase/thrift2/generated/TLogType.java | 4 +- .../hbase/thrift2/generated/TMutation.java | 10 +- .../generated/TNamespaceDescriptor.java | 12 +- .../thrift2/generated/TOnlineLogRecord.java | 34 +- .../hadoop/hbase/thrift2/generated/TPut.java | 22 +- .../hbase/thrift2/generated/TReadType.java | 4 +- .../hbase/thrift2/generated/TResult.java | 16 +- .../thrift2/generated/TRowMutations.java | 12 +- .../hadoop/hbase/thrift2/generated/TScan.java | 48 +- .../hbase/thrift2/generated/TServerName.java | 12 +- .../thrift2/generated/TTableDescriptor.java | 18 +- .../hbase/thrift2/generated/TTableName.java | 10 +- .../thrift2/generated/TThriftServerType.java | 4 +- .../hbase/thrift2/generated/TTimeRange.java | 10 +- 55 files changed, 806 insertions(+), 1268 deletions(-) diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml index b3c82015b3e9..e3e4a23490ee 100644 --- a/hbase-thrift/pom.xml +++ b/hbase-thrift/pom.xml @@ -338,12 +338,12 @@ thrift.version "The Thrift version must be specified." - 0\.13\.0 + 0\.14\.0 - - [FATAL] ========================================================================================== -[FATAL] HBase Thrift requires the thrift generator version 0.13.0. +[FATAL] HBase Thrift requires the thrift generator version 0.14.0. [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/generated/AlreadyExists.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/AlreadyExists.java index 1ad495532b52..a6bb503b062c 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ * 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-17") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @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 int compareTo(AlreadyExists other) { 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 cf47101b49d5..4d331a110597 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ /** * 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-17") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof BatchMutation) return this.equals((BatchMutation)that); return false; @@ -324,7 +322,7 @@ public int compareTo(BatchMutation other) { 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; } @@ -334,7 +332,7 @@ public int compareTo(BatchMutation other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetMutations()).compareTo(other.isSetMutations()); + lastComparison = java.lang.Boolean.compare(isSetMutations(), other.isSetMutations()); if (lastComparison != 0) { return lastComparison; } @@ -531,7 +529,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BatchMutation struct } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list5 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list5 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.mutations = new java.util.ArrayList(_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 9d52add3f666..d108b2a6b38f 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -12,7 +12,7 @@ * 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-17") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof ColumnDescriptor) return this.equals((ColumnDescriptor)that); return false; @@ -755,7 +753,7 @@ public int compareTo(ColumnDescriptor other) { 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; } @@ -765,7 +763,7 @@ public int compareTo(ColumnDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetMaxVersions()).compareTo(other.isSetMaxVersions()); + lastComparison = java.lang.Boolean.compare(isSetMaxVersions(), other.isSetMaxVersions()); if (lastComparison != 0) { return lastComparison; } @@ -775,7 +773,7 @@ public int compareTo(ColumnDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetCompression()).compareTo(other.isSetCompression()); + lastComparison = java.lang.Boolean.compare(isSetCompression(), other.isSetCompression()); if (lastComparison != 0) { return lastComparison; } @@ -785,7 +783,7 @@ public int compareTo(ColumnDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetInMemory()).compareTo(other.isSetInMemory()); + lastComparison = java.lang.Boolean.compare(isSetInMemory(), other.isSetInMemory()); if (lastComparison != 0) { return lastComparison; } @@ -795,7 +793,7 @@ public int compareTo(ColumnDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetBloomFilterType()).compareTo(other.isSetBloomFilterType()); + lastComparison = java.lang.Boolean.compare(isSetBloomFilterType(), other.isSetBloomFilterType()); if (lastComparison != 0) { return lastComparison; } @@ -805,7 +803,7 @@ public int compareTo(ColumnDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetBloomFilterVectorSize()).compareTo(other.isSetBloomFilterVectorSize()); + lastComparison = java.lang.Boolean.compare(isSetBloomFilterVectorSize(), other.isSetBloomFilterVectorSize()); if (lastComparison != 0) { return lastComparison; } @@ -815,7 +813,7 @@ public int compareTo(ColumnDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetBloomFilterNbHashes()).compareTo(other.isSetBloomFilterNbHashes()); + lastComparison = java.lang.Boolean.compare(isSetBloomFilterNbHashes(), other.isSetBloomFilterNbHashes()); if (lastComparison != 0) { return lastComparison; } @@ -825,7 +823,7 @@ public int compareTo(ColumnDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetBlockCacheEnabled()).compareTo(other.isSetBlockCacheEnabled()); + lastComparison = java.lang.Boolean.compare(isSetBlockCacheEnabled(), other.isSetBlockCacheEnabled()); if (lastComparison != 0) { return lastComparison; } @@ -835,7 +833,7 @@ public int compareTo(ColumnDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimeToLive()).compareTo(other.isSetTimeToLive()); + lastComparison = java.lang.Boolean.compare(isSetTimeToLive(), other.isSetTimeToLive()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/Hbase.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/Hbase.java index 5b79deb6a460..ec2d3bd9eddb 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/Hbase.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/Hbase.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,7 +7,7 @@ package org.apache.hadoop.hbase.thrift.generated; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-17") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") public class Hbase { public interface Iface { @@ -8456,8 +8456,6 @@ public boolean isSet(_Fields field) { @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; @@ -8500,7 +8498,7 @@ public int compareTo(enableTable_args other) { 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; } @@ -8823,8 +8821,6 @@ public boolean isSet(_Fields field) { @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; @@ -8867,7 +8863,7 @@ public int compareTo(enableTable_result other) { 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; } @@ -9217,8 +9213,6 @@ public boolean isSet(_Fields field) { @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; @@ -9261,7 +9255,7 @@ public int compareTo(disableTable_args other) { 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; } @@ -9584,8 +9578,6 @@ public boolean isSet(_Fields field) { @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; @@ -9628,7 +9620,7 @@ public int compareTo(disableTable_result other) { 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; } @@ -9978,8 +9970,6 @@ public boolean isSet(_Fields field) { @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; @@ -10022,7 +10012,7 @@ public int compareTo(isTableEnabled_args other) { 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; } @@ -10397,8 +10387,6 @@ public boolean isSet(_Fields field) { @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; @@ -10452,7 +10440,7 @@ public int compareTo(isTableEnabled_result other) { 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; } @@ -10462,7 +10450,7 @@ public int compareTo(isTableEnabled_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -10829,8 +10817,6 @@ public boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof compact_args) return this.equals((compact_args)that); return false; @@ -10873,7 +10859,7 @@ public int compareTo(compact_args other) { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableNameOrRegionName()).compareTo(other.isSetTableNameOrRegionName()); + lastComparison = java.lang.Boolean.compare(isSetTableNameOrRegionName(), other.isSetTableNameOrRegionName()); if (lastComparison != 0) { return lastComparison; } @@ -11196,8 +11182,6 @@ public boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof compact_result) return this.equals((compact_result)that); return false; @@ -11240,7 +11224,7 @@ public int compareTo(compact_result other) { 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; } @@ -11578,8 +11562,6 @@ public boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof majorCompact_args) return this.equals((majorCompact_args)that); return false; @@ -11622,7 +11604,7 @@ public int compareTo(majorCompact_args other) { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetTableNameOrRegionName()).compareTo(other.isSetTableNameOrRegionName()); + lastComparison = java.lang.Boolean.compare(isSetTableNameOrRegionName(), other.isSetTableNameOrRegionName()); if (lastComparison != 0) { return lastComparison; } @@ -11945,8 +11927,6 @@ public boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof majorCompact_result) return this.equals((majorCompact_result)that); return false; @@ -11989,7 +11969,7 @@ public int compareTo(majorCompact_result other) { 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; } @@ -12257,8 +12237,6 @@ public boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getTableNames_args) return this.equals((getTableNames_args)that); return false; @@ -12640,8 +12618,6 @@ public boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getTableNames_result) return this.equals((getTableNames_result)that); return false; @@ -12697,7 +12673,7 @@ public int compareTo(getTableNames_result other) { 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; } @@ -12707,7 +12683,7 @@ public int compareTo(getTableNames_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -12900,7 +12876,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getTableNames_result java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list55 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list55 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.success = new java.util.ArrayList(_list55.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem56; for (int _i57 = 0; _i57 < _list55.size; ++_i57) @@ -13120,8 +13096,6 @@ public boolean isSet(_Fields field) { @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; @@ -13164,7 +13138,7 @@ public int compareTo(getColumnDescriptors_args other) { 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; } @@ -13563,8 +13537,6 @@ public boolean isSet(_Fields field) { @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; @@ -13620,7 +13592,7 @@ public int compareTo(getColumnDescriptors_result other) { 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; } @@ -13630,7 +13602,7 @@ public int compareTo(getColumnDescriptors_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -13828,7 +13800,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getColumnDescriptors 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; @@ -14051,8 +14023,6 @@ public boolean isSet(_Fields field) { @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; @@ -14095,7 +14065,7 @@ public int compareTo(getTableRegions_args other) { 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; } @@ -14490,8 +14460,6 @@ public boolean isSet(_Fields field) { @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; @@ -14547,7 +14515,7 @@ public int compareTo(getTableRegions_result other) { 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; } @@ -14557,7 +14525,7 @@ public int compareTo(getTableRegions_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -14751,7 +14719,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getTableRegions_resu 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) @@ -15056,8 +15024,6 @@ public boolean isSet(_Fields field) { @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; @@ -15113,7 +15079,7 @@ public int compareTo(createTable_args other) { 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; } @@ -15123,7 +15089,7 @@ public int compareTo(createTable_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumnFamilies()).compareTo(other.isSetColumnFamilies()); + lastComparison = java.lang.Boolean.compare(isSetColumnFamilies(), other.isSetColumnFamilies()); if (lastComparison != 0) { return lastComparison; } @@ -15320,7 +15286,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, createTable_args str } 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) @@ -15613,8 +15579,6 @@ public boolean isSet(_Fields field) { @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; @@ -15683,7 +15647,7 @@ public int compareTo(createTable_result other) { 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; } @@ -15693,7 +15657,7 @@ public int compareTo(createTable_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -15703,7 +15667,7 @@ public int compareTo(createTable_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetExist()).compareTo(other.isSetExist()); + lastComparison = java.lang.Boolean.compare(isSetExist(), other.isSetExist()); if (lastComparison != 0) { return lastComparison; } @@ -16119,8 +16083,6 @@ public boolean isSet(_Fields field) { @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; @@ -16163,7 +16125,7 @@ public int compareTo(deleteTable_args other) { 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; } @@ -16486,8 +16448,6 @@ public boolean isSet(_Fields field) { @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; @@ -16530,7 +16490,7 @@ public int compareTo(deleteTable_result other) { 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; } @@ -17120,8 +17080,6 @@ public boolean isSet(_Fields field) { @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; @@ -17203,7 +17161,7 @@ public int compareTo(get_args other) { 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; } @@ -17213,7 +17171,7 @@ public int compareTo(get_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -17223,7 +17181,7 @@ public int compareTo(get_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -17233,7 +17191,7 @@ public int compareTo(get_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -17495,7 +17453,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_args struct) thr } 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; @@ -17759,8 +17717,6 @@ public boolean isSet(_Fields field) { @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; @@ -17816,7 +17772,7 @@ public int compareTo(get_result other) { 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; } @@ -17826,7 +17782,7 @@ public int compareTo(get_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -18020,7 +17976,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_result struct) t 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) @@ -18545,8 +18501,6 @@ public boolean isSet(_Fields field) { @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; @@ -18639,7 +18593,7 @@ public int compareTo(getVer_args other) { 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; } @@ -18649,7 +18603,7 @@ public int compareTo(getVer_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -18659,7 +18613,7 @@ public int compareTo(getVer_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -18669,7 +18623,7 @@ public int compareTo(getVer_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetNumVersions()).compareTo(other.isSetNumVersions()); + lastComparison = java.lang.Boolean.compare(isSetNumVersions(), other.isSetNumVersions()); if (lastComparison != 0) { return lastComparison; } @@ -18679,7 +18633,7 @@ public int compareTo(getVer_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -18968,7 +18922,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getVer_args struct) } 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; @@ -19232,8 +19186,6 @@ public boolean isSet(_Fields field) { @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; @@ -19289,7 +19241,7 @@ public int compareTo(getVer_result other) { 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; } @@ -19299,7 +19251,7 @@ public int compareTo(getVer_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -19493,7 +19445,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getVer_result struct 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) @@ -20080,8 +20032,6 @@ public boolean isSet(_Fields field) { @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; @@ -20185,7 +20135,7 @@ public int compareTo(getVerTs_args other) { 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; } @@ -20195,7 +20145,7 @@ public int compareTo(getVerTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -20205,7 +20155,7 @@ public int compareTo(getVerTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -20215,7 +20165,7 @@ public int compareTo(getVerTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -20225,7 +20175,7 @@ public int compareTo(getVerTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetNumVersions()).compareTo(other.isSetNumVersions()); + lastComparison = java.lang.Boolean.compare(isSetNumVersions(), other.isSetNumVersions()); if (lastComparison != 0) { return lastComparison; } @@ -20235,7 +20185,7 @@ public int compareTo(getVerTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -20549,7 +20499,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getVerTs_args struct } 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; @@ -20813,8 +20763,6 @@ public boolean isSet(_Fields field) { @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; @@ -20870,7 +20818,7 @@ public int compareTo(getVerTs_result other) { 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; } @@ -20880,7 +20828,7 @@ public int compareTo(getVerTs_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -21074,7 +21022,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getVerTs_result stru 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) @@ -21459,8 +21407,6 @@ public boolean isSet(_Fields field) { @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; @@ -21529,7 +21475,7 @@ public int compareTo(getRow_args other) { 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; } @@ -21539,7 +21485,7 @@ public int compareTo(getRow_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -21549,7 +21495,7 @@ public int compareTo(getRow_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -21780,7 +21726,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRow_args struct) } 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; @@ -22044,8 +21990,6 @@ public boolean isSet(_Fields field) { @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; @@ -22101,7 +22045,7 @@ public int compareTo(getRow_result other) { 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; } @@ -22111,7 +22055,7 @@ public int compareTo(getRow_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -22305,7 +22249,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRow_result struct 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) @@ -22774,8 +22718,6 @@ public boolean isSet(_Fields field) { @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; @@ -22857,7 +22799,7 @@ public int compareTo(getRowWithColumns_args other) { 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; } @@ -22867,7 +22809,7 @@ public int compareTo(getRowWithColumns_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -22877,7 +22819,7 @@ public int compareTo(getRowWithColumns_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -22887,7 +22829,7 @@ public int compareTo(getRowWithColumns_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -23168,7 +23110,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRowWithColumns_ar } 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) @@ -23181,7 +23123,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRowWithColumns_ar } 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; @@ -23445,8 +23387,6 @@ public boolean isSet(_Fields field) { @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; @@ -23502,7 +23442,7 @@ public int compareTo(getRowWithColumns_result other) { 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; } @@ -23512,7 +23452,7 @@ public int compareTo(getRowWithColumns_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -23706,7 +23646,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRowWithColumns_re 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) @@ -24155,8 +24095,6 @@ public boolean isSet(_Fields field) { @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; @@ -24236,7 +24174,7 @@ public int compareTo(getRowTs_args other) { 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; } @@ -24246,7 +24184,7 @@ public int compareTo(getRowTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -24256,7 +24194,7 @@ public int compareTo(getRowTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -24266,7 +24204,7 @@ public int compareTo(getRowTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -24524,7 +24462,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRowTs_args struct } 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; @@ -24788,8 +24726,6 @@ public boolean isSet(_Fields field) { @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; @@ -24845,7 +24781,7 @@ public int compareTo(getRowTs_result other) { 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; } @@ -24855,7 +24791,7 @@ public int compareTo(getRowTs_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -25049,7 +24985,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRowTs_result stru 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) @@ -25570,8 +25506,6 @@ public boolean isSet(_Fields field) { @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; @@ -25664,7 +25598,7 @@ public int compareTo(getRowWithColumnsTs_args other) { 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; } @@ -25674,7 +25608,7 @@ public int compareTo(getRowWithColumnsTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -25684,7 +25618,7 @@ public int compareTo(getRowWithColumnsTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -25694,7 +25628,7 @@ public int compareTo(getRowWithColumnsTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -25704,7 +25638,7 @@ public int compareTo(getRowWithColumnsTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -26008,7 +25942,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRowWithColumnsTs_ } 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) @@ -26025,7 +25959,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRowWithColumnsTs_ } 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; @@ -26289,8 +26223,6 @@ public boolean isSet(_Fields field) { @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; @@ -26346,7 +26278,7 @@ public int compareTo(getRowWithColumnsTs_result other) { 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; } @@ -26356,7 +26288,7 @@ public int compareTo(getRowWithColumnsTs_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -26550,7 +26482,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRowWithColumnsTs_ 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) @@ -26943,8 +26875,6 @@ public boolean isSet(_Fields field) { @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; @@ -27013,7 +26943,7 @@ public int compareTo(getRows_args other) { 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; } @@ -27023,7 +26953,7 @@ public int compareTo(getRows_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRows()).compareTo(other.isSetRows()); + lastComparison = java.lang.Boolean.compare(isSetRows(), other.isSetRows()); if (lastComparison != 0) { return lastComparison; } @@ -27033,7 +26963,7 @@ public int compareTo(getRows_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -27283,7 +27213,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRows_args struct) } 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) @@ -27296,7 +27226,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRows_args struct) } 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; @@ -27560,8 +27490,6 @@ public boolean isSet(_Fields field) { @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; @@ -27617,7 +27545,7 @@ public int compareTo(getRows_result other) { 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; } @@ -27627,7 +27555,7 @@ public int compareTo(getRows_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -27821,7 +27749,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRows_result struc 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) @@ -28298,8 +28226,6 @@ public boolean isSet(_Fields field) { @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; @@ -28381,7 +28307,7 @@ public int compareTo(getRowsWithColumns_args other) { 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; } @@ -28391,7 +28317,7 @@ public int compareTo(getRowsWithColumns_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRows()).compareTo(other.isSetRows()); + lastComparison = java.lang.Boolean.compare(isSetRows(), other.isSetRows()); if (lastComparison != 0) { return lastComparison; } @@ -28401,7 +28327,7 @@ public int compareTo(getRowsWithColumns_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -28411,7 +28337,7 @@ public int compareTo(getRowsWithColumns_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -28711,7 +28637,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumns_a } 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) @@ -28724,7 +28650,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumns_a } 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) @@ -28737,7 +28663,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumns_a } 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; @@ -29001,8 +28927,6 @@ public boolean isSet(_Fields field) { @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; @@ -29058,7 +28982,7 @@ public int compareTo(getRowsWithColumns_result other) { 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; } @@ -29068,7 +28992,7 @@ public int compareTo(getRowsWithColumns_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -29262,7 +29186,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumns_r 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) @@ -29719,8 +29643,6 @@ public boolean isSet(_Fields field) { @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; @@ -29800,7 +29722,7 @@ public int compareTo(getRowsTs_args other) { 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; } @@ -29810,7 +29732,7 @@ public int compareTo(getRowsTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRows()).compareTo(other.isSetRows()); + lastComparison = java.lang.Boolean.compare(isSetRows(), other.isSetRows()); if (lastComparison != 0) { return lastComparison; } @@ -29820,7 +29742,7 @@ public int compareTo(getRowsTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -29830,7 +29752,7 @@ public int compareTo(getRowsTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -30103,7 +30025,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRowsTs_args struc } 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) @@ -30120,7 +30042,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRowsTs_args struc } 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; @@ -30384,8 +30306,6 @@ public boolean isSet(_Fields field) { @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; @@ -30441,7 +30361,7 @@ public int compareTo(getRowsTs_result other) { 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; } @@ -30451,7 +30371,7 @@ public int compareTo(getRowsTs_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -30645,7 +30565,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRowsTs_result str 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) @@ -31174,8 +31094,6 @@ public boolean isSet(_Fields field) { @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; @@ -31268,7 +31186,7 @@ public int compareTo(getRowsWithColumnsTs_args other) { 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; } @@ -31278,7 +31196,7 @@ public int compareTo(getRowsWithColumnsTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRows()).compareTo(other.isSetRows()); + lastComparison = java.lang.Boolean.compare(isSetRows(), other.isSetRows()); if (lastComparison != 0) { return lastComparison; } @@ -31288,7 +31206,7 @@ public int compareTo(getRowsWithColumnsTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -31298,7 +31216,7 @@ public int compareTo(getRowsWithColumnsTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -31308,7 +31226,7 @@ public int compareTo(getRowsWithColumnsTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -31631,7 +31549,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumnsTs } 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) @@ -31644,7 +31562,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumnsTs } 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) @@ -31661,7 +31579,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumnsTs } 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; @@ -31925,8 +31843,6 @@ public boolean isSet(_Fields field) { @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; @@ -31982,7 +31898,7 @@ public int compareTo(getRowsWithColumnsTs_result other) { 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; } @@ -31992,7 +31908,7 @@ public int compareTo(getRowsWithColumnsTs_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -32186,7 +32102,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getRowsWithColumnsTs 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) @@ -32655,8 +32571,6 @@ public boolean isSet(_Fields field) { @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; @@ -32738,7 +32652,7 @@ public int compareTo(mutateRow_args other) { 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; } @@ -32748,7 +32662,7 @@ public int compareTo(mutateRow_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -32758,7 +32672,7 @@ public int compareTo(mutateRow_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetMutations()).compareTo(other.isSetMutations()); + lastComparison = java.lang.Boolean.compare(isSetMutations(), other.isSetMutations()); if (lastComparison != 0) { return lastComparison; } @@ -32768,7 +32682,7 @@ public int compareTo(mutateRow_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -33050,7 +32964,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, mutateRow_args struc } 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) @@ -33064,7 +32978,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, mutateRow_args struc } 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; @@ -33307,8 +33221,6 @@ public boolean isSet(_Fields field) { @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; @@ -33364,7 +33276,7 @@ public int compareTo(mutateRow_result other) { 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; } @@ -33374,7 +33286,7 @@ public int compareTo(mutateRow_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -34069,8 +33981,6 @@ public boolean isSet(_Fields field) { @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; @@ -34163,7 +34073,7 @@ public int compareTo(mutateRowTs_args other) { 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; } @@ -34173,7 +34083,7 @@ public int compareTo(mutateRowTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -34183,7 +34093,7 @@ public int compareTo(mutateRowTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetMutations()).compareTo(other.isSetMutations()); + lastComparison = java.lang.Boolean.compare(isSetMutations(), other.isSetMutations()); if (lastComparison != 0) { return lastComparison; } @@ -34193,7 +34103,7 @@ public int compareTo(mutateRowTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -34203,7 +34113,7 @@ public int compareTo(mutateRowTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -34508,7 +34418,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, mutateRowTs_args str } 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) @@ -34526,7 +34436,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, mutateRowTs_args str } 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; @@ -34769,8 +34679,6 @@ public boolean isSet(_Fields field) { @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; @@ -34826,7 +34734,7 @@ public int compareTo(mutateRowTs_result other) { 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; } @@ -34836,7 +34744,7 @@ public int compareTo(mutateRowTs_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -35391,8 +35299,6 @@ public boolean isSet(_Fields field) { @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; @@ -35461,7 +35367,7 @@ public int compareTo(mutateRows_args other) { 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; } @@ -35471,7 +35377,7 @@ public int compareTo(mutateRows_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRowBatches()).compareTo(other.isSetRowBatches()); + lastComparison = java.lang.Boolean.compare(isSetRowBatches(), other.isSetRowBatches()); if (lastComparison != 0) { return lastComparison; } @@ -35481,7 +35387,7 @@ public int compareTo(mutateRows_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -35732,7 +35638,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, mutateRows_args stru } 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) @@ -35746,7 +35652,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, mutateRows_args stru } 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; @@ -35989,8 +35895,6 @@ public boolean isSet(_Fields field) { @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; @@ -36046,7 +35950,7 @@ public int compareTo(mutateRows_result other) { 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; } @@ -36056,7 +35960,7 @@ public int compareTo(mutateRows_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -36675,8 +36579,6 @@ public boolean isSet(_Fields field) { @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; @@ -36756,7 +36658,7 @@ public int compareTo(mutateRowsTs_args other) { 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; } @@ -36766,7 +36668,7 @@ public int compareTo(mutateRowsTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRowBatches()).compareTo(other.isSetRowBatches()); + lastComparison = java.lang.Boolean.compare(isSetRowBatches(), other.isSetRowBatches()); if (lastComparison != 0) { return lastComparison; } @@ -36776,7 +36678,7 @@ public int compareTo(mutateRowsTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -36786,7 +36688,7 @@ public int compareTo(mutateRowsTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -37060,7 +36962,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, mutateRowsTs_args st } 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) @@ -37078,7 +36980,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, mutateRowsTs_args st } 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; @@ -37321,8 +37223,6 @@ public boolean isSet(_Fields field) { @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; @@ -37378,7 +37278,7 @@ public int compareTo(mutateRowsTs_result other) { 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; } @@ -37388,7 +37288,7 @@ public int compareTo(mutateRowsTs_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -37987,8 +37887,6 @@ public boolean isSet(_Fields field) { @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; @@ -38068,7 +37966,7 @@ public int compareTo(atomicIncrement_args other) { 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; } @@ -38078,7 +37976,7 @@ public int compareTo(atomicIncrement_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -38088,7 +37986,7 @@ public int compareTo(atomicIncrement_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -38098,7 +37996,7 @@ public int compareTo(atomicIncrement_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); + lastComparison = java.lang.Boolean.compare(isSetValue(), other.isSetValue()); if (lastComparison != 0) { return lastComparison; } @@ -38613,8 +38511,6 @@ public boolean isSet(_Fields field) { @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; @@ -38681,7 +38577,7 @@ public int compareTo(atomicIncrement_result other) { 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; } @@ -38691,7 +38587,7 @@ public int compareTo(atomicIncrement_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -38701,7 +38597,7 @@ public int compareTo(atomicIncrement_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -39353,8 +39249,6 @@ public boolean isSet(_Fields field) { @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; @@ -39436,7 +39330,7 @@ public int compareTo(deleteAll_args other) { 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; } @@ -39446,7 +39340,7 @@ public int compareTo(deleteAll_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -39456,7 +39350,7 @@ public int compareTo(deleteAll_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -39466,7 +39360,7 @@ public int compareTo(deleteAll_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -39728,7 +39622,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, deleteAll_args struc } 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; @@ -39920,8 +39814,6 @@ public boolean isSet(_Fields field) { @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; @@ -39964,7 +39856,7 @@ public int compareTo(deleteAll_result other) { 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; } @@ -40618,8 +40510,6 @@ public boolean isSet(_Fields field) { @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; @@ -40712,7 +40602,7 @@ public int compareTo(deleteAllTs_args other) { 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; } @@ -40722,7 +40612,7 @@ public int compareTo(deleteAllTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -40732,7 +40622,7 @@ public int compareTo(deleteAllTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -40742,7 +40632,7 @@ public int compareTo(deleteAllTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -40752,7 +40642,7 @@ public int compareTo(deleteAllTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -41041,7 +40931,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, deleteAllTs_args str } 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; @@ -41233,8 +41123,6 @@ public boolean isSet(_Fields field) { @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; @@ -41277,7 +41165,7 @@ public int compareTo(deleteAllTs_result other) { 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; } @@ -41791,8 +41679,6 @@ public boolean isSet(_Fields field) { @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; @@ -41861,7 +41747,7 @@ public int compareTo(deleteAllRow_args other) { 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; } @@ -41871,7 +41757,7 @@ public int compareTo(deleteAllRow_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -41881,7 +41767,7 @@ public int compareTo(deleteAllRow_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -42112,7 +41998,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, deleteAllRow_args st } 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; @@ -42304,8 +42190,6 @@ public boolean isSet(_Fields field) { @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; @@ -42348,7 +42232,7 @@ public int compareTo(deleteAllRow_result other) { 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; } @@ -42685,8 +42569,6 @@ public boolean isSet(_Fields field) { @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; @@ -42729,7 +42611,7 @@ public int compareTo(increment_args other) { 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; } @@ -43057,8 +42939,6 @@ public boolean isSet(_Fields field) { @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; @@ -43101,7 +42981,7 @@ public int compareTo(increment_result other) { 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; } @@ -43459,8 +43339,6 @@ public boolean isSet(_Fields field) { @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; @@ -43503,7 +43381,7 @@ public int compareTo(incrementRows_args other) { 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; } @@ -43669,7 +43547,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, incrementRows_args s 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) @@ -43860,8 +43738,6 @@ public boolean isSet(_Fields field) { @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; @@ -43904,7 +43780,7 @@ public int compareTo(incrementRows_result other) { 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; } @@ -44482,8 +44358,6 @@ public boolean isSet(_Fields field) { @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; @@ -44563,7 +44437,7 @@ public int compareTo(deleteAllRowTs_args other) { 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; } @@ -44573,7 +44447,7 @@ public int compareTo(deleteAllRowTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -44583,7 +44457,7 @@ public int compareTo(deleteAllRowTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -44593,7 +44467,7 @@ public int compareTo(deleteAllRowTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -44851,7 +44725,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, deleteAllRowTs_args } 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; @@ -45043,8 +44917,6 @@ public boolean isSet(_Fields field) { @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; @@ -45087,7 +44959,7 @@ public int compareTo(deleteAllRowTs_result other) { 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; } @@ -45588,8 +45460,6 @@ public boolean isSet(_Fields field) { @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; @@ -45658,7 +45528,7 @@ public int compareTo(scannerOpenWithScan_args other) { 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; } @@ -45668,7 +45538,7 @@ public int compareTo(scannerOpenWithScan_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetScan()).compareTo(other.isSetScan()); + lastComparison = java.lang.Boolean.compare(isSetScan(), other.isSetScan()); if (lastComparison != 0) { return lastComparison; } @@ -45678,7 +45548,7 @@ public int compareTo(scannerOpenWithScan_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -45914,7 +45784,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithScan_ } 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; @@ -46158,8 +46028,6 @@ public boolean isSet(_Fields field) { @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; @@ -46213,7 +46081,7 @@ public int compareTo(scannerOpenWithScan_result other) { 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; } @@ -46223,7 +46091,7 @@ public int compareTo(scannerOpenWithScan_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -46862,8 +46730,6 @@ public boolean isSet(_Fields field) { @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; @@ -46945,7 +46811,7 @@ public int compareTo(scannerOpen_args other) { 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; } @@ -46955,7 +46821,7 @@ public int compareTo(scannerOpen_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStartRow()).compareTo(other.isSetStartRow()); + lastComparison = java.lang.Boolean.compare(isSetStartRow(), other.isSetStartRow()); if (lastComparison != 0) { return lastComparison; } @@ -46965,7 +46831,7 @@ public int compareTo(scannerOpen_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -46975,7 +46841,7 @@ public int compareTo(scannerOpen_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -47256,7 +47122,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpen_args str } 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) @@ -47269,7 +47135,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpen_args str } 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; @@ -47513,8 +47379,6 @@ public boolean isSet(_Fields field) { @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; @@ -47568,7 +47432,7 @@ public int compareTo(scannerOpen_result other) { 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; } @@ -47578,7 +47442,7 @@ public int compareTo(scannerOpen_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -48297,8 +48161,6 @@ public boolean isSet(_Fields field) { @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; @@ -48393,7 +48255,7 @@ public int compareTo(scannerOpenWithStop_args other) { 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; } @@ -48403,7 +48265,7 @@ public int compareTo(scannerOpenWithStop_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStartRow()).compareTo(other.isSetStartRow()); + lastComparison = java.lang.Boolean.compare(isSetStartRow(), other.isSetStartRow()); if (lastComparison != 0) { return lastComparison; } @@ -48413,7 +48275,7 @@ public int compareTo(scannerOpenWithStop_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStopRow()).compareTo(other.isSetStopRow()); + lastComparison = java.lang.Boolean.compare(isSetStopRow(), other.isSetStopRow()); if (lastComparison != 0) { return lastComparison; } @@ -48423,7 +48285,7 @@ public int compareTo(scannerOpenWithStop_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -48433,7 +48295,7 @@ public int compareTo(scannerOpenWithStop_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -48745,7 +48607,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStop_ } 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) @@ -48758,7 +48620,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStop_ } 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; @@ -49002,8 +48864,6 @@ public boolean isSet(_Fields field) { @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; @@ -49057,7 +48917,7 @@ public int compareTo(scannerOpenWithStop_result other) { 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; } @@ -49067,7 +48927,7 @@ public int compareTo(scannerOpenWithStop_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -49694,8 +49554,6 @@ public boolean isSet(_Fields field) { @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; @@ -49777,7 +49635,7 @@ public int compareTo(scannerOpenWithPrefix_args other) { 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; } @@ -49787,7 +49645,7 @@ public int compareTo(scannerOpenWithPrefix_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStartAndPrefix()).compareTo(other.isSetStartAndPrefix()); + lastComparison = java.lang.Boolean.compare(isSetStartAndPrefix(), other.isSetStartAndPrefix()); if (lastComparison != 0) { return lastComparison; } @@ -49797,7 +49655,7 @@ public int compareTo(scannerOpenWithPrefix_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -49807,7 +49665,7 @@ public int compareTo(scannerOpenWithPrefix_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -50088,7 +49946,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithPrefi } 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) @@ -50101,7 +49959,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithPrefi } 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; @@ -50345,8 +50203,6 @@ public boolean isSet(_Fields field) { @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; @@ -50400,7 +50256,7 @@ public int compareTo(scannerOpenWithPrefix_result other) { 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; } @@ -50410,7 +50266,7 @@ public int compareTo(scannerOpenWithPrefix_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -51113,8 +50969,6 @@ public boolean isSet(_Fields field) { @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; @@ -51207,7 +51061,7 @@ public int compareTo(scannerOpenTs_args other) { 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; } @@ -51217,7 +51071,7 @@ public int compareTo(scannerOpenTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStartRow()).compareTo(other.isSetStartRow()); + lastComparison = java.lang.Boolean.compare(isSetStartRow(), other.isSetStartRow()); if (lastComparison != 0) { return lastComparison; } @@ -51227,7 +51081,7 @@ public int compareTo(scannerOpenTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -51237,7 +51091,7 @@ public int compareTo(scannerOpenTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -51247,7 +51101,7 @@ public int compareTo(scannerOpenTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -51551,7 +51405,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpenTs_args s } 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) @@ -51568,7 +51422,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpenTs_args s } 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; @@ -51812,8 +51666,6 @@ public boolean isSet(_Fields field) { @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; @@ -51867,7 +51719,7 @@ public int compareTo(scannerOpenTs_result other) { 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; } @@ -51877,7 +51729,7 @@ public int compareTo(scannerOpenTs_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -52660,8 +52512,6 @@ public boolean isSet(_Fields field) { @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; @@ -52767,7 +52617,7 @@ public int compareTo(scannerOpenWithStopTs_args other) { 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; } @@ -52777,7 +52627,7 @@ public int compareTo(scannerOpenWithStopTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStartRow()).compareTo(other.isSetStartRow()); + lastComparison = java.lang.Boolean.compare(isSetStartRow(), other.isSetStartRow()); if (lastComparison != 0) { return lastComparison; } @@ -52787,7 +52637,7 @@ public int compareTo(scannerOpenWithStopTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStopRow()).compareTo(other.isSetStopRow()); + lastComparison = java.lang.Boolean.compare(isSetStopRow(), other.isSetStopRow()); if (lastComparison != 0) { return lastComparison; } @@ -52797,7 +52647,7 @@ public int compareTo(scannerOpenWithStopTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -52807,7 +52657,7 @@ public int compareTo(scannerOpenWithStopTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -52817,7 +52667,7 @@ public int compareTo(scannerOpenWithStopTs_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -53152,7 +53002,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStopT } 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) @@ -53169,7 +53019,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, scannerOpenWithStopT } 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; @@ -53413,8 +53263,6 @@ public boolean isSet(_Fields field) { @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; @@ -53468,7 +53316,7 @@ public int compareTo(scannerOpenWithStopTs_result other) { 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; } @@ -53478,7 +53326,7 @@ public int compareTo(scannerOpenWithStopTs_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -53845,8 +53693,6 @@ public boolean isSet(_Fields field) { @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; @@ -53887,7 +53733,7 @@ public int compareTo(scannerGet_args other) { 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; } @@ -54329,8 +54175,6 @@ public boolean isSet(_Fields field) { @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; @@ -54399,7 +54243,7 @@ public int compareTo(scannerGet_result other) { 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; } @@ -54409,7 +54253,7 @@ public int compareTo(scannerGet_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -54419,7 +54263,7 @@ public int compareTo(scannerGet_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -54641,7 +54485,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, scannerGet_result st 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) @@ -54917,8 +54761,6 @@ public boolean isSet(_Fields field) { @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; @@ -54970,7 +54812,7 @@ public int compareTo(scannerGetList_args other) { 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; } @@ -54980,7 +54822,7 @@ public int compareTo(scannerGetList_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetNbRows()).compareTo(other.isSetNbRows()); + lastComparison = java.lang.Boolean.compare(isSetNbRows(), other.isSetNbRows()); if (lastComparison != 0) { return lastComparison; } @@ -55447,8 +55289,6 @@ public boolean isSet(_Fields field) { @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; @@ -55517,7 +55357,7 @@ public int compareTo(scannerGetList_result other) { 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; } @@ -55527,7 +55367,7 @@ public int compareTo(scannerGetList_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -55537,7 +55377,7 @@ public int compareTo(scannerGetList_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -55759,7 +55599,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, scannerGetList_resul 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) @@ -55973,8 +55813,6 @@ public boolean isSet(_Fields field) { @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; @@ -56015,7 +55853,7 @@ public int compareTo(scannerClose_args other) { 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; } @@ -56385,8 +56223,6 @@ public boolean isSet(_Fields field) { @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; @@ -56442,7 +56278,7 @@ public int compareTo(scannerClose_result other) { 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; } @@ -56452,7 +56288,7 @@ public int compareTo(scannerClose_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -56835,8 +56671,6 @@ public boolean isSet(_Fields field) { @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; @@ -56879,7 +56713,7 @@ public int compareTo(getRegionInfo_args other) { 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; } @@ -57253,8 +57087,6 @@ public boolean isSet(_Fields field) { @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; @@ -57310,7 +57142,7 @@ public int compareTo(getRegionInfo_result other) { 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; } @@ -57320,7 +57152,7 @@ public int compareTo(getRegionInfo_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -57693,8 +57525,6 @@ public boolean isSet(_Fields field) { @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; @@ -57737,7 +57567,7 @@ public int compareTo(append_args other) { 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; } @@ -58137,8 +57967,6 @@ public boolean isSet(_Fields field) { @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; @@ -58194,7 +58022,7 @@ public int compareTo(append_result other) { 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; } @@ -58204,7 +58032,7 @@ public int compareTo(append_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -58398,7 +58226,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_result struct 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) @@ -59006,8 +58834,6 @@ public boolean isSet(_Fields field) { @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; @@ -59115,7 +58941,7 @@ public int compareTo(checkAndPut_args other) { 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; } @@ -59125,7 +58951,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -59135,7 +58961,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -59145,7 +58971,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); + lastComparison = java.lang.Boolean.compare(isSetValue(), other.isSetValue()); if (lastComparison != 0) { return lastComparison; } @@ -59155,7 +58981,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetMput()).compareTo(other.isSetMput()); + lastComparison = java.lang.Boolean.compare(isSetMput(), other.isSetMput()); if (lastComparison != 0) { return lastComparison; } @@ -59165,7 +58991,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -59494,7 +59320,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, checkAndPut_args str } 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; @@ -59789,8 +59615,6 @@ public boolean isSet(_Fields field) { @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; @@ -59857,7 +59681,7 @@ public int compareTo(checkAndPut_result other) { 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; } @@ -59867,7 +59691,7 @@ public int compareTo(checkAndPut_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -59877,7 +59701,7 @@ public int compareTo(checkAndPut_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -60207,8 +60031,6 @@ public boolean isSet(_Fields field) { @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; @@ -60534,8 +60356,6 @@ public boolean isSet(_Fields field) { @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; @@ -60578,7 +60398,7 @@ public int compareTo(getThriftServerType_result other) { 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; } @@ -60844,8 +60664,6 @@ public boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getClusterId_args) return this.equals((getClusterId_args)that); return false; @@ -61155,8 +60973,6 @@ public boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getClusterId_result) return this.equals((getClusterId_result)that); return false; @@ -61199,7 +61015,7 @@ public int compareTo(getClusterId_result other) { 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 55e1c4d4d0d8..b941993725a7 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -12,7 +12,7 @@ * 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-17") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @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 int compareTo(IOError other) { 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 32b80cf99bea..981b31f2ed92 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ * 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-17") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @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 int compareTo(IllegalArgument other) { 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 a19c92688708..e23152554672 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ /** * 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-17") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof Mutation) return this.equals((Mutation)that); return false; @@ -444,7 +442,7 @@ public int compareTo(Mutation other) { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetIsDelete()).compareTo(other.isSetIsDelete()); + lastComparison = java.lang.Boolean.compare(isSetIsDelete(), other.isSetIsDelete()); if (lastComparison != 0) { return lastComparison; } @@ -454,7 +452,7 @@ public int compareTo(Mutation other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -464,7 +462,7 @@ public int compareTo(Mutation other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); + lastComparison = java.lang.Boolean.compare(isSetValue(), other.isSetValue()); if (lastComparison != 0) { return lastComparison; } @@ -474,7 +472,7 @@ public int compareTo(Mutation other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetWriteToWAL()).compareTo(other.isSetWriteToWAL()); + lastComparison = java.lang.Boolean.compare(isSetWriteToWAL(), other.isSetWriteToWAL()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TAppend.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TAppend.java index 2f171614032e..9ddafa7e2369 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TAppend.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TAppend.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ /** * An Append object is used to specify the parameters for performing the append operation. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-17") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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"); @@ -403,8 +403,6 @@ public boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TAppend) return this.equals((TAppend)that); return false; @@ -486,7 +484,7 @@ public int compareTo(TAppend other) { 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; } @@ -496,7 +494,7 @@ public int compareTo(TAppend other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -506,7 +504,7 @@ public int compareTo(TAppend other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -516,7 +514,7 @@ public int compareTo(TAppend other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetValues()).compareTo(other.isSetValues()); + lastComparison = java.lang.Boolean.compare(isSetValues(), other.isSetValues()); if (lastComparison != 0) { return lastComparison; } @@ -793,7 +791,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TAppend struct) thro } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list44 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list44 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.columns = new java.util.ArrayList(_list44.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _elem45; for (int _i46 = 0; _i46 < _list44.size; ++_i46) @@ -806,7 +804,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TAppend struct) thro } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list47 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list47 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.values = new java.util.ArrayList(_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 61922b6f3eeb..e3d92d36d09d 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -13,7 +13,7 @@ * 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-17") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @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 int compareTo(TCell other) { 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 int compareTo(TCell other) { 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 0ec16f00fc7c..be6c8d9265cf 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ /** * Holds column name and the cell. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-17") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TColumn) return this.equals((TColumn)that); return false; @@ -303,7 +301,7 @@ public int compareTo(TColumn other) { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetColumnName()).compareTo(other.isSetColumnName()); + lastComparison = java.lang.Boolean.compare(isSetColumnName(), other.isSetColumnName()); if (lastComparison != 0) { return lastComparison; } @@ -313,7 +311,7 @@ public int compareTo(TColumn other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetCell()).compareTo(other.isSetCell()); + lastComparison = java.lang.Boolean.compare(isSetCell(), other.isSetCell()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TIncrement.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TIncrement.java index a07cecb60bac..573d184bccac 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TIncrement.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TIncrement.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ * For increments that are not incrementColumnValue * equivalents. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-17") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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"); @@ -376,8 +376,6 @@ public boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TIncrement) return this.equals((TIncrement)that); return false; @@ -457,7 +455,7 @@ public int compareTo(TIncrement other) { 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; } @@ -467,7 +465,7 @@ public int compareTo(TIncrement other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -477,7 +475,7 @@ public int compareTo(TIncrement other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -487,7 +485,7 @@ public int compareTo(TIncrement other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAmmount()).compareTo(other.isSetAmmount()); + lastComparison = java.lang.Boolean.compare(isSetAmmount(), other.isSetAmmount()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TRegionInfo.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TRegionInfo.java index e49982cea7f9..99efd9f9f45f 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TRegionInfo.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TRegionInfo.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ /** * A TRegionInfo contains information about an HTable region. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-17") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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("TRegionInfo"); @@ -539,8 +539,6 @@ public boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TRegionInfo) return this.equals((TRegionInfo)that); return false; @@ -655,7 +653,7 @@ public int compareTo(TRegionInfo other) { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetStartKey()).compareTo(other.isSetStartKey()); + lastComparison = java.lang.Boolean.compare(isSetStartKey(), other.isSetStartKey()); if (lastComparison != 0) { return lastComparison; } @@ -665,7 +663,7 @@ public int compareTo(TRegionInfo other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetEndKey()).compareTo(other.isSetEndKey()); + lastComparison = java.lang.Boolean.compare(isSetEndKey(), other.isSetEndKey()); if (lastComparison != 0) { return lastComparison; } @@ -675,7 +673,7 @@ public int compareTo(TRegionInfo other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetId()).compareTo(other.isSetId()); + lastComparison = java.lang.Boolean.compare(isSetId(), other.isSetId()); if (lastComparison != 0) { return lastComparison; } @@ -685,7 +683,7 @@ public int compareTo(TRegionInfo other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetName()).compareTo(other.isSetName()); + lastComparison = java.lang.Boolean.compare(isSetName(), other.isSetName()); if (lastComparison != 0) { return lastComparison; } @@ -695,7 +693,7 @@ public int compareTo(TRegionInfo other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetVersion()).compareTo(other.isSetVersion()); + lastComparison = java.lang.Boolean.compare(isSetVersion(), other.isSetVersion()); if (lastComparison != 0) { return lastComparison; } @@ -705,7 +703,7 @@ public int compareTo(TRegionInfo other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetServerName()).compareTo(other.isSetServerName()); + lastComparison = java.lang.Boolean.compare(isSetServerName(), other.isSetServerName()); if (lastComparison != 0) { return lastComparison; } @@ -715,7 +713,7 @@ public int compareTo(TRegionInfo other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetPort()).compareTo(other.isSetPort()); + lastComparison = java.lang.Boolean.compare(isSetPort(), other.isSetPort()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TRowResult.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TRowResult.java index b6e51a2d8a40..39ae17d34356 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TRowResult.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TRowResult.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ /** * Holds row name and then a map of columns to cells. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-17") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") public class TRowResult 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TRowResult) return this.equals((TRowResult)that); return false; @@ -410,7 +408,7 @@ public int compareTo(TRowResult other) { 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; } @@ -420,7 +418,7 @@ public int compareTo(TRowResult other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -430,7 +428,7 @@ public int compareTo(TRowResult other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetSortedColumns()).compareTo(other.isSetSortedColumns()); + lastComparison = java.lang.Boolean.compare(isSetSortedColumns(), other.isSetSortedColumns()); if (lastComparison != 0) { return lastComparison; } @@ -690,7 +688,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TRowResult struct) t } if (incoming.get(1)) { { - org.apache.thrift.protocol.TMap _map19 = 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 _map19 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT); struct.columns = new java.util.HashMap(2*_map19.size); @org.apache.thrift.annotation.Nullable java.nio.ByteBuffer _key20; @org.apache.thrift.annotation.Nullable TCell _val21; @@ -706,7 +704,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TRowResult struct) t } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list23 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list23 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.sortedColumns = new java.util.ArrayList(_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 6d111da64530..f1383d272652 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ /** * 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-17") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 void read(org.apache.thrift.protocol.TProtocol prot, TScan struct) throws } 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 39c5bb3af9bb..7431f6b16944 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ /** * Specify type of thrift server: thrift and thrift2 */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-04-17") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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/generated/TAppend.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TAppend.java index 2b5ab37e2809..033df2e6f3db 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.0) * * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TAppend) return this.equals((TAppend)that); return false; @@ -600,7 +598,7 @@ public int compareTo(TAppend other) { 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; } @@ -610,7 +608,7 @@ public int compareTo(TAppend other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -620,7 +618,7 @@ public int compareTo(TAppend other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -630,7 +628,7 @@ public int compareTo(TAppend other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetDurability()).compareTo(other.isSetDurability()); + lastComparison = java.lang.Boolean.compare(isSetDurability(), other.isSetDurability()); if (lastComparison != 0) { return lastComparison; } @@ -640,7 +638,7 @@ public int compareTo(TAppend other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetCellVisibility()).compareTo(other.isSetCellVisibility()); + lastComparison = java.lang.Boolean.compare(isSetCellVisibility(), other.isSetCellVisibility()); if (lastComparison != 0) { return lastComparison; } @@ -650,7 +648,7 @@ public int compareTo(TAppend other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetReturnResults()).compareTo(other.isSetReturnResults()); + lastComparison = java.lang.Boolean.compare(isSetReturnResults(), other.isSetReturnResults()); if (lastComparison != 0) { return lastComparison; } @@ -990,7 +988,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TAppend struct) thro struct.row = iprot.readBinary(); struct.setRowIsSet(true); { - 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.columns = new java.util.ArrayList(_list99.size); @org.apache.thrift.annotation.Nullable TColumnValue _elem100; for (int _i101 = 0; _i101 < _list99.size; ++_i101) @@ -1004,7 +1002,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TAppend struct) thro java.util.BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map102 = 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 _map102 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(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 4cedd48c1f46..86c861a26460 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.0) * * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TAuthorization) return this.equals((TAuthorization)that); return false; @@ -235,7 +233,7 @@ public int compareTo(TAuthorization other) { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetLabels()).compareTo(other.isSetLabels()); + lastComparison = java.lang.Boolean.compare(isSetLabels(), other.isSetLabels()); if (lastComparison != 0) { return lastComparison; } @@ -404,7 +402,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TAuthorization struc java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list13 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + org.apache.thrift.protocol.TList _list13 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); struct.labels = new java.util.ArrayList(_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 249dfcdfb548..e8b7e552355a 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ * Thrift wrapper around * org.apache.hadoop.hbase.regionserver.BloomType */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 b0cd3c59ec81..d45a65b6cbbb 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.0) * * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TCellVisibility) return this.equals((TCellVisibility)that); return false; @@ -217,7 +215,7 @@ public int compareTo(TCellVisibility other) { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetExpression()).compareTo(other.isSetExpression()); + lastComparison = java.lang.Boolean.compare(isSetExpression(), other.isSetExpression()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TColumn.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TColumn.java index 94c6addd8c38..9b00d76540d0 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TColumn.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TColumn.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -12,7 +12,7 @@ * in a HBase table by column family and optionally * a column qualifier and timestamp */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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"); @@ -309,8 +309,6 @@ public boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TColumn) return this.equals((TColumn)that); return false; @@ -379,7 +377,7 @@ public int compareTo(TColumn other) { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetFamily()).compareTo(other.isSetFamily()); + lastComparison = java.lang.Boolean.compare(isSetFamily(), other.isSetFamily()); if (lastComparison != 0) { return lastComparison; } @@ -389,7 +387,7 @@ public int compareTo(TColumn other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetQualifier()).compareTo(other.isSetQualifier()); + lastComparison = java.lang.Boolean.compare(isSetQualifier(), other.isSetQualifier()); if (lastComparison != 0) { return lastComparison; } @@ -399,7 +397,7 @@ public int compareTo(TColumn other) { 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/thrift2/generated/TColumnFamilyDescriptor.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TColumnFamilyDescriptor.java index 4492cc963d3b..3b072b771510 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TColumnFamilyDescriptor.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TColumnFamilyDescriptor.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ * Thrift wrapper around * org.apache.hadoop.hbase.client.ColumnFamilyDescriptor */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") public class TColumnFamilyDescriptor 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TColumnFamilyDescriptor) return this.equals((TColumnFamilyDescriptor)that); return false; @@ -1487,7 +1485,7 @@ public int compareTo(TColumnFamilyDescriptor other) { 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; } @@ -1497,7 +1495,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -1507,7 +1505,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetConfiguration()).compareTo(other.isSetConfiguration()); + lastComparison = java.lang.Boolean.compare(isSetConfiguration(), other.isSetConfiguration()); if (lastComparison != 0) { return lastComparison; } @@ -1517,7 +1515,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetBlockSize()).compareTo(other.isSetBlockSize()); + lastComparison = java.lang.Boolean.compare(isSetBlockSize(), other.isSetBlockSize()); if (lastComparison != 0) { return lastComparison; } @@ -1527,7 +1525,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetBloomnFilterType()).compareTo(other.isSetBloomnFilterType()); + lastComparison = java.lang.Boolean.compare(isSetBloomnFilterType(), other.isSetBloomnFilterType()); if (lastComparison != 0) { return lastComparison; } @@ -1537,7 +1535,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetCompressionType()).compareTo(other.isSetCompressionType()); + lastComparison = java.lang.Boolean.compare(isSetCompressionType(), other.isSetCompressionType()); if (lastComparison != 0) { return lastComparison; } @@ -1547,7 +1545,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetDfsReplication()).compareTo(other.isSetDfsReplication()); + lastComparison = java.lang.Boolean.compare(isSetDfsReplication(), other.isSetDfsReplication()); if (lastComparison != 0) { return lastComparison; } @@ -1557,7 +1555,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetDataBlockEncoding()).compareTo(other.isSetDataBlockEncoding()); + lastComparison = java.lang.Boolean.compare(isSetDataBlockEncoding(), other.isSetDataBlockEncoding()); if (lastComparison != 0) { return lastComparison; } @@ -1567,7 +1565,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetKeepDeletedCells()).compareTo(other.isSetKeepDeletedCells()); + lastComparison = java.lang.Boolean.compare(isSetKeepDeletedCells(), other.isSetKeepDeletedCells()); if (lastComparison != 0) { return lastComparison; } @@ -1577,7 +1575,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetMaxVersions()).compareTo(other.isSetMaxVersions()); + lastComparison = java.lang.Boolean.compare(isSetMaxVersions(), other.isSetMaxVersions()); if (lastComparison != 0) { return lastComparison; } @@ -1587,7 +1585,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetMinVersions()).compareTo(other.isSetMinVersions()); + lastComparison = java.lang.Boolean.compare(isSetMinVersions(), other.isSetMinVersions()); if (lastComparison != 0) { return lastComparison; } @@ -1597,7 +1595,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetScope()).compareTo(other.isSetScope()); + lastComparison = java.lang.Boolean.compare(isSetScope(), other.isSetScope()); if (lastComparison != 0) { return lastComparison; } @@ -1607,7 +1605,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimeToLive()).compareTo(other.isSetTimeToLive()); + lastComparison = java.lang.Boolean.compare(isSetTimeToLive(), other.isSetTimeToLive()); if (lastComparison != 0) { return lastComparison; } @@ -1617,7 +1615,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetBlockCacheEnabled()).compareTo(other.isSetBlockCacheEnabled()); + lastComparison = java.lang.Boolean.compare(isSetBlockCacheEnabled(), other.isSetBlockCacheEnabled()); if (lastComparison != 0) { return lastComparison; } @@ -1627,7 +1625,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetCacheBloomsOnWrite()).compareTo(other.isSetCacheBloomsOnWrite()); + lastComparison = java.lang.Boolean.compare(isSetCacheBloomsOnWrite(), other.isSetCacheBloomsOnWrite()); if (lastComparison != 0) { return lastComparison; } @@ -1637,7 +1635,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetCacheDataOnWrite()).compareTo(other.isSetCacheDataOnWrite()); + lastComparison = java.lang.Boolean.compare(isSetCacheDataOnWrite(), other.isSetCacheDataOnWrite()); if (lastComparison != 0) { return lastComparison; } @@ -1647,7 +1645,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetCacheIndexesOnWrite()).compareTo(other.isSetCacheIndexesOnWrite()); + lastComparison = java.lang.Boolean.compare(isSetCacheIndexesOnWrite(), other.isSetCacheIndexesOnWrite()); if (lastComparison != 0) { return lastComparison; } @@ -1657,7 +1655,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetCompressTags()).compareTo(other.isSetCompressTags()); + lastComparison = java.lang.Boolean.compare(isSetCompressTags(), other.isSetCompressTags()); if (lastComparison != 0) { return lastComparison; } @@ -1667,7 +1665,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetEvictBlocksOnClose()).compareTo(other.isSetEvictBlocksOnClose()); + lastComparison = java.lang.Boolean.compare(isSetEvictBlocksOnClose(), other.isSetEvictBlocksOnClose()); if (lastComparison != 0) { return lastComparison; } @@ -1677,7 +1675,7 @@ public int compareTo(TColumnFamilyDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetInMemory()).compareTo(other.isSetInMemory()); + lastComparison = java.lang.Boolean.compare(isSetInMemory(), other.isSetInMemory()); if (lastComparison != 0) { return lastComparison; } @@ -2386,7 +2384,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TColumnFamilyDescrip java.util.BitSet incoming = iprot.readBitSet(19); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map154 = 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 _map154 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(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 void read(org.apache.thrift.protocol.TProtocol prot, TColumnFamilyDescrip } if (incoming.get(1)) { { - org.apache.thrift.protocol.TMap _map158 = 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 _map158 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.configuration = new java.util.HashMap(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 bda7c0c32bdc..677d8a22ca45 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ /** * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TColumnIncrement) return this.equals((TColumnIncrement)that); return false; @@ -381,7 +379,7 @@ public int compareTo(TColumnIncrement other) { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetFamily()).compareTo(other.isSetFamily()); + lastComparison = java.lang.Boolean.compare(isSetFamily(), other.isSetFamily()); if (lastComparison != 0) { return lastComparison; } @@ -391,7 +389,7 @@ public int compareTo(TColumnIncrement other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetQualifier()).compareTo(other.isSetQualifier()); + lastComparison = java.lang.Boolean.compare(isSetQualifier(), other.isSetQualifier()); if (lastComparison != 0) { return lastComparison; } @@ -401,7 +399,7 @@ public int compareTo(TColumnIncrement other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAmount()).compareTo(other.isSetAmount()); + lastComparison = java.lang.Boolean.compare(isSetAmount(), other.isSetAmount()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TColumnValue.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TColumnValue.java index 315d063902c7..1ae1ac283590 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TColumnValue.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TColumnValue.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ /** * Represents a single cell and its value. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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("TColumnValue"); @@ -482,8 +482,6 @@ public boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TColumnValue) return this.equals((TColumnValue)that); return false; @@ -591,7 +589,7 @@ public int compareTo(TColumnValue other) { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetFamily()).compareTo(other.isSetFamily()); + lastComparison = java.lang.Boolean.compare(isSetFamily(), other.isSetFamily()); if (lastComparison != 0) { return lastComparison; } @@ -601,7 +599,7 @@ public int compareTo(TColumnValue other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetQualifier()).compareTo(other.isSetQualifier()); + lastComparison = java.lang.Boolean.compare(isSetQualifier(), other.isSetQualifier()); if (lastComparison != 0) { return lastComparison; } @@ -611,7 +609,7 @@ public int compareTo(TColumnValue other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); + lastComparison = java.lang.Boolean.compare(isSetValue(), other.isSetValue()); if (lastComparison != 0) { return lastComparison; } @@ -621,7 +619,7 @@ public int compareTo(TColumnValue other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -631,7 +629,7 @@ public int compareTo(TColumnValue other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTags()).compareTo(other.isSetTags()); + lastComparison = java.lang.Boolean.compare(isSetTags(), other.isSetTags()); if (lastComparison != 0) { return lastComparison; } @@ -641,7 +639,7 @@ public int compareTo(TColumnValue other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetType()).compareTo(other.isSetType()); + lastComparison = java.lang.Boolean.compare(isSetType(), other.isSetType()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TCompareOperator.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TCompareOperator.java index 05a22a41375e..246de746e713 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TCompareOperator.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TCompareOperator.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ * Thrift wrapper around * org.apache.hadoop.hbase.CompareOperator. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") public enum TCompareOperator implements org.apache.thrift.TEnum { LESS(0), LESS_OR_EQUAL(1), diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TCompressionAlgorithm.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TCompressionAlgorithm.java index 4aa6428bb317..481ebcb605fa 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TCompressionAlgorithm.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TCompressionAlgorithm.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ * Thrift wrapper around * org.apache.hadoop.hbase.io.compress.Algorithm */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") public enum TCompressionAlgorithm implements org.apache.thrift.TEnum { LZO(0), GZ(1), diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TConsistency.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TConsistency.java index 288198d783c3..2d09edf8a7a6 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TConsistency.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TConsistency.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -12,7 +12,7 @@ * - STRONG means reads only from primary region * - TIMELINE means reads might return values from secondary region replicas */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") public enum TConsistency implements org.apache.thrift.TEnum { STRONG(1), TIMELINE(2); diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TDataBlockEncoding.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TDataBlockEncoding.java index 7d1e2b814de3..b87ffd148f7b 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TDataBlockEncoding.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TDataBlockEncoding.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ * Thrift wrapper around * org.apache.hadoop.hbase.io.encoding.DataBlockEncoding */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") public enum TDataBlockEncoding implements org.apache.thrift.TEnum { /** * Disable data block encoding. diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TDelete.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TDelete.java index 52949b54d1cf..ab17ea77a6c9 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TDelete.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TDelete.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -33,7 +33,7 @@ * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") public class TDelete 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TDelete) return this.equals((TDelete)that); return false; @@ -643,7 +641,7 @@ public int compareTo(TDelete other) { 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; } @@ -653,7 +651,7 @@ public int compareTo(TDelete other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -663,7 +661,7 @@ public int compareTo(TDelete other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); + lastComparison = java.lang.Boolean.compare(isSetTimestamp(), other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } @@ -673,7 +671,7 @@ public int compareTo(TDelete other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetDeleteType()).compareTo(other.isSetDeleteType()); + lastComparison = java.lang.Boolean.compare(isSetDeleteType(), other.isSetDeleteType()); if (lastComparison != 0) { return lastComparison; } @@ -683,7 +681,7 @@ public int compareTo(TDelete other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -693,7 +691,7 @@ public int compareTo(TDelete other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetDurability()).compareTo(other.isSetDurability()); + lastComparison = java.lang.Boolean.compare(isSetDurability(), other.isSetDurability()); if (lastComparison != 0) { return lastComparison; } @@ -1037,7 +1035,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TDelete struct) thro java.util.BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list63 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list63 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.columns = new java.util.ArrayList(_list63.size); @org.apache.thrift.annotation.Nullable TColumn _elem64; for (int _i65 = 0; _i65 < _list63.size; ++_i65) @@ -1059,7 +1057,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TDelete struct) thro } if (incoming.get(3)) { { - org.apache.thrift.protocol.TMap _map66 = 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 _map66 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(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 c3a74d79472c..0f038ba69aff 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -12,7 +12,7 @@ * - 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 4d104ea0e398..6478bcfe59ab 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -14,7 +14,7 @@ * - 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 7736692b8062..a7232b835c15 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.0) * * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 b42f40c3a480..c75363e68313 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -20,7 +20,7 @@ * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @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 int compareTo(TGet other) { 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 int compareTo(TGet other) { 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 int compareTo(TGet other) { 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 int compareTo(TGet other) { 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 int compareTo(TGet other) { 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 int compareTo(TGet other) { 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 int compareTo(TGet other) { 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 int compareTo(TGet other) { 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 int compareTo(TGet other) { 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 int compareTo(TGet other) { 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 int compareTo(TGet other) { 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 int compareTo(TGet other) { 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 int compareTo(TGet other) { 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 int compareTo(TGet other) { 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 int compareTo(TGet other) { 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 void read(org.apache.thrift.protocol.TProtocol prot, TGet struct) throws 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 void read(org.apache.thrift.protocol.TProtocol prot, TGet struct) throws } 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 c91f87d19e32..f9cfb5e7c3b3 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.0) * * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") public class THBaseService { public interface Iface { @@ -8774,8 +8774,6 @@ public boolean isSet(_Fields field) { @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; @@ -8831,7 +8829,7 @@ public int compareTo(exists_args other) { 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; } @@ -8841,7 +8839,7 @@ public int compareTo(exists_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTget()).compareTo(other.isSetTget()); + lastComparison = java.lang.Boolean.compare(isSetTget(), other.isSetTget()); if (lastComparison != 0) { return lastComparison; } @@ -9241,8 +9239,6 @@ public boolean isSet(_Fields field) { @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; @@ -9296,7 +9292,7 @@ public int compareTo(exists_result other) { 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; } @@ -9306,7 +9302,7 @@ public int compareTo(exists_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -9769,8 +9765,6 @@ public boolean isSet(_Fields field) { @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; @@ -9826,7 +9820,7 @@ public int compareTo(existsAll_args other) { 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; } @@ -9836,7 +9830,7 @@ public int compareTo(existsAll_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTgets()).compareTo(other.isSetTgets()); + lastComparison = java.lang.Boolean.compare(isSetTgets(), other.isSetTgets()); if (lastComparison != 0) { return lastComparison; } @@ -10023,7 +10017,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, existsAll_args struc 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) @@ -10282,8 +10276,6 @@ public boolean isSet(_Fields field) { @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; @@ -10339,7 +10331,7 @@ public int compareTo(existsAll_result other) { 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; } @@ -10349,7 +10341,7 @@ public int compareTo(existsAll_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -10542,7 +10534,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, existsAll_result str 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) @@ -10825,8 +10817,6 @@ public boolean isSet(_Fields field) { @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; @@ -10882,7 +10872,7 @@ public int compareTo(get_args other) { 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; } @@ -10892,7 +10882,7 @@ public int compareTo(get_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTget()).compareTo(other.isSetTget()); + lastComparison = java.lang.Boolean.compare(isSetTget(), other.isSetTget()); if (lastComparison != 0) { return lastComparison; } @@ -11291,8 +11281,6 @@ public boolean isSet(_Fields field) { @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; @@ -11348,7 +11336,7 @@ public int compareTo(get_result other) { 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; } @@ -11358,7 +11346,7 @@ public int compareTo(get_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -11836,8 +11824,6 @@ public boolean isSet(_Fields field) { @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; @@ -11893,7 +11879,7 @@ public int compareTo(getMultiple_args other) { 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; } @@ -11903,7 +11889,7 @@ public int compareTo(getMultiple_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTgets()).compareTo(other.isSetTgets()); + lastComparison = java.lang.Boolean.compare(isSetTgets(), other.isSetTgets()); if (lastComparison != 0) { return lastComparison; } @@ -12090,7 +12076,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getMultiple_args str 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) @@ -12352,8 +12338,6 @@ public boolean isSet(_Fields field) { @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; @@ -12409,7 +12393,7 @@ public int compareTo(getMultiple_result other) { 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; } @@ -12419,7 +12403,7 @@ public int compareTo(getMultiple_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -12613,7 +12597,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getMultiple_result s 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) @@ -12897,8 +12881,6 @@ public boolean isSet(_Fields field) { @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; @@ -12954,7 +12936,7 @@ public int compareTo(put_args other) { 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; } @@ -12964,7 +12946,7 @@ public int compareTo(put_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTput()).compareTo(other.isSetTput()); + lastComparison = java.lang.Boolean.compare(isSetTput(), other.isSetTput()); if (lastComparison != 0) { return lastComparison; } @@ -13312,8 +13294,6 @@ public boolean isSet(_Fields field) { @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; @@ -13356,7 +13336,7 @@ public int compareTo(put_result other) { 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; } @@ -14081,8 +14061,6 @@ public boolean isSet(_Fields field) { @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; @@ -14190,7 +14168,7 @@ public int compareTo(checkAndPut_args other) { 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; } @@ -14200,7 +14178,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -14210,7 +14188,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetFamily()).compareTo(other.isSetFamily()); + lastComparison = java.lang.Boolean.compare(isSetFamily(), other.isSetFamily()); if (lastComparison != 0) { return lastComparison; } @@ -14220,7 +14198,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetQualifier()).compareTo(other.isSetQualifier()); + lastComparison = java.lang.Boolean.compare(isSetQualifier(), other.isSetQualifier()); if (lastComparison != 0) { return lastComparison; } @@ -14230,7 +14208,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); + lastComparison = java.lang.Boolean.compare(isSetValue(), other.isSetValue()); if (lastComparison != 0) { return lastComparison; } @@ -14240,7 +14218,7 @@ public int compareTo(checkAndPut_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTput()).compareTo(other.isSetTput()); + lastComparison = java.lang.Boolean.compare(isSetTput(), other.isSetTput()); if (lastComparison != 0) { return lastComparison; } @@ -14755,8 +14733,6 @@ public boolean isSet(_Fields field) { @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; @@ -14810,7 +14786,7 @@ public int compareTo(checkAndPut_result other) { 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; } @@ -14820,7 +14796,7 @@ public int compareTo(checkAndPut_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -15283,8 +15259,6 @@ public boolean isSet(_Fields field) { @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; @@ -15340,7 +15314,7 @@ public int compareTo(putMultiple_args other) { 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; } @@ -15350,7 +15324,7 @@ public int compareTo(putMultiple_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTputs()).compareTo(other.isSetTputs()); + lastComparison = java.lang.Boolean.compare(isSetTputs(), other.isSetTputs()); if (lastComparison != 0) { return lastComparison; } @@ -15537,7 +15511,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, putMultiple_args str 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) @@ -15727,8 +15701,6 @@ public boolean isSet(_Fields field) { @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; @@ -15771,7 +15743,7 @@ public int compareTo(putMultiple_result other) { 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; } @@ -16184,8 +16156,6 @@ public boolean isSet(_Fields field) { @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; @@ -16241,7 +16211,7 @@ public int compareTo(deleteSingle_args other) { 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; } @@ -16251,7 +16221,7 @@ public int compareTo(deleteSingle_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTdelete()).compareTo(other.isSetTdelete()); + lastComparison = java.lang.Boolean.compare(isSetTdelete(), other.isSetTdelete()); if (lastComparison != 0) { return lastComparison; } @@ -16599,8 +16569,6 @@ public boolean isSet(_Fields field) { @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; @@ -16643,7 +16611,7 @@ public int compareTo(deleteSingle_result other) { 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; } @@ -17077,8 +17045,6 @@ public boolean isSet(_Fields field) { @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; @@ -17134,7 +17100,7 @@ public int compareTo(deleteMultiple_args other) { 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; } @@ -17144,7 +17110,7 @@ public int compareTo(deleteMultiple_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTdeletes()).compareTo(other.isSetTdeletes()); + lastComparison = java.lang.Boolean.compare(isSetTdeletes(), other.isSetTdeletes()); if (lastComparison != 0) { return lastComparison; } @@ -17331,7 +17297,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, deleteMultiple_args 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) @@ -17593,8 +17559,6 @@ public boolean isSet(_Fields field) { @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; @@ -17650,7 +17614,7 @@ public int compareTo(deleteMultiple_result other) { 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; } @@ -17660,7 +17624,7 @@ public int compareTo(deleteMultiple_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -17854,7 +17818,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, deleteMultiple_resul 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) @@ -18450,8 +18414,6 @@ public boolean isSet(_Fields field) { @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; @@ -18559,7 +18521,7 @@ public int compareTo(checkAndDelete_args other) { 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; } @@ -18569,7 +18531,7 @@ public int compareTo(checkAndDelete_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -18579,7 +18541,7 @@ public int compareTo(checkAndDelete_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetFamily()).compareTo(other.isSetFamily()); + lastComparison = java.lang.Boolean.compare(isSetFamily(), other.isSetFamily()); if (lastComparison != 0) { return lastComparison; } @@ -18589,7 +18551,7 @@ public int compareTo(checkAndDelete_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetQualifier()).compareTo(other.isSetQualifier()); + lastComparison = java.lang.Boolean.compare(isSetQualifier(), other.isSetQualifier()); if (lastComparison != 0) { return lastComparison; } @@ -18599,7 +18561,7 @@ public int compareTo(checkAndDelete_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); + lastComparison = java.lang.Boolean.compare(isSetValue(), other.isSetValue()); if (lastComparison != 0) { return lastComparison; } @@ -18609,7 +18571,7 @@ public int compareTo(checkAndDelete_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTdelete()).compareTo(other.isSetTdelete()); + lastComparison = java.lang.Boolean.compare(isSetTdelete(), other.isSetTdelete()); if (lastComparison != 0) { return lastComparison; } @@ -19124,8 +19086,6 @@ public boolean isSet(_Fields field) { @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; @@ -19179,7 +19139,7 @@ public int compareTo(checkAndDelete_result other) { 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; } @@ -19189,7 +19149,7 @@ public int compareTo(checkAndDelete_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -19631,8 +19591,6 @@ public boolean isSet(_Fields field) { @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; @@ -19688,7 +19646,7 @@ public int compareTo(increment_args other) { 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; } @@ -19698,7 +19656,7 @@ public int compareTo(increment_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTincrement()).compareTo(other.isSetTincrement()); + lastComparison = java.lang.Boolean.compare(isSetTincrement(), other.isSetTincrement()); if (lastComparison != 0) { return lastComparison; } @@ -20097,8 +20055,6 @@ public boolean isSet(_Fields field) { @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; @@ -20154,7 +20110,7 @@ public int compareTo(increment_result other) { 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; } @@ -20164,7 +20120,7 @@ public int compareTo(increment_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -20613,8 +20569,6 @@ public boolean isSet(_Fields field) { @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; @@ -20670,7 +20624,7 @@ public int compareTo(append_args other) { 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; } @@ -20680,7 +20634,7 @@ public int compareTo(append_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTappend()).compareTo(other.isSetTappend()); + lastComparison = java.lang.Boolean.compare(isSetTappend(), other.isSetTappend()); if (lastComparison != 0) { return lastComparison; } @@ -21079,8 +21033,6 @@ public boolean isSet(_Fields field) { @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; @@ -21136,7 +21088,7 @@ public int compareTo(append_result other) { 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; } @@ -21146,7 +21098,7 @@ public int compareTo(append_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -21595,8 +21547,6 @@ public boolean isSet(_Fields field) { @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; @@ -21652,7 +21602,7 @@ public int compareTo(openScanner_args other) { 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; } @@ -21662,7 +21612,7 @@ public int compareTo(openScanner_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTscan()).compareTo(other.isSetTscan()); + lastComparison = java.lang.Boolean.compare(isSetTscan(), other.isSetTscan()); if (lastComparison != 0) { return lastComparison; } @@ -22062,8 +22012,6 @@ public boolean isSet(_Fields field) { @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; @@ -22117,7 +22065,7 @@ public int compareTo(openScanner_result other) { 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; } @@ -22127,7 +22075,7 @@ public int compareTo(openScanner_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -22558,8 +22506,6 @@ public boolean isSet(_Fields field) { @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; @@ -22611,7 +22557,7 @@ public int compareTo(getScannerRows_args other) { 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; } @@ -22621,7 +22567,7 @@ public int compareTo(getScannerRows_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetNumRows()).compareTo(other.isSetNumRows()); + lastComparison = java.lang.Boolean.compare(isSetNumRows(), other.isSetNumRows()); if (lastComparison != 0) { return lastComparison; } @@ -23097,8 +23043,6 @@ public boolean isSet(_Fields field) { @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; @@ -23167,7 +23111,7 @@ public int compareTo(getScannerRows_result other) { 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; } @@ -23177,7 +23121,7 @@ public int compareTo(getScannerRows_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -23187,7 +23131,7 @@ public int compareTo(getScannerRows_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -23409,7 +23353,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getScannerRows_resul 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) @@ -23623,8 +23567,6 @@ public boolean isSet(_Fields field) { @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; @@ -23665,7 +23607,7 @@ public int compareTo(closeScanner_args other) { 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; } @@ -24041,8 +23983,6 @@ public boolean isSet(_Fields field) { @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; @@ -24098,7 +24038,7 @@ public int compareTo(closeScanner_result other) { 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; } @@ -24108,7 +24048,7 @@ public int compareTo(closeScanner_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIa()).compareTo(other.isSetIa()); + lastComparison = java.lang.Boolean.compare(isSetIa(), other.isSetIa()); if (lastComparison != 0) { return lastComparison; } @@ -24554,8 +24494,6 @@ public boolean isSet(_Fields field) { @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; @@ -24611,7 +24549,7 @@ public int compareTo(mutateRow_args other) { 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; } @@ -24621,7 +24559,7 @@ public int compareTo(mutateRow_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTrowMutations()).compareTo(other.isSetTrowMutations()); + lastComparison = java.lang.Boolean.compare(isSetTrowMutations(), other.isSetTrowMutations()); if (lastComparison != 0) { return lastComparison; } @@ -24969,8 +24907,6 @@ public boolean isSet(_Fields field) { @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; @@ -25013,7 +24949,7 @@ public int compareTo(mutateRow_result other) { 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; } @@ -25492,8 +25428,6 @@ public boolean isSet(_Fields field) { @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; @@ -25560,7 +25494,7 @@ public int compareTo(getScannerResults_args other) { 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; } @@ -25570,7 +25504,7 @@ public int compareTo(getScannerResults_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTscan()).compareTo(other.isSetTscan()); + lastComparison = java.lang.Boolean.compare(isSetTscan(), other.isSetTscan()); if (lastComparison != 0) { return lastComparison; } @@ -25580,7 +25514,7 @@ public int compareTo(getScannerResults_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetNumRows()).compareTo(other.isSetNumRows()); + lastComparison = java.lang.Boolean.compare(isSetNumRows(), other.isSetNumRows()); if (lastComparison != 0) { return lastComparison; } @@ -26030,8 +25964,6 @@ public boolean isSet(_Fields field) { @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; @@ -26087,7 +26019,7 @@ public int compareTo(getScannerResults_result other) { 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; } @@ -26097,7 +26029,7 @@ public int compareTo(getScannerResults_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -26291,7 +26223,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getScannerResults_re 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) @@ -26616,8 +26548,6 @@ public boolean isSet(_Fields field) { @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; @@ -26684,7 +26614,7 @@ public int compareTo(getRegionLocation_args other) { 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; } @@ -26694,7 +26624,7 @@ public int compareTo(getRegionLocation_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -26704,7 +26634,7 @@ public int compareTo(getRegionLocation_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetReload()).compareTo(other.isSetReload()); + lastComparison = java.lang.Boolean.compare(isSetReload(), other.isSetReload()); if (lastComparison != 0) { return lastComparison; } @@ -27128,8 +27058,6 @@ public boolean isSet(_Fields field) { @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; @@ -27185,7 +27113,7 @@ public int compareTo(getRegionLocation_result other) { 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; } @@ -27195,7 +27123,7 @@ public int compareTo(getRegionLocation_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -27569,8 +27497,6 @@ public boolean isSet(_Fields field) { @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; @@ -27613,7 +27539,7 @@ public int compareTo(getAllRegionLocations_args other) { 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; } @@ -28001,8 +27927,6 @@ public boolean isSet(_Fields field) { @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; @@ -28058,7 +27982,7 @@ public int compareTo(getAllRegionLocations_result other) { 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; } @@ -28068,7 +27992,7 @@ public int compareTo(getAllRegionLocations_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -28262,7 +28186,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getAllRegionLocation 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) @@ -28925,8 +28849,6 @@ public boolean isSet(_Fields field) { @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; @@ -29047,7 +28969,7 @@ public int compareTo(checkAndMutate_args other) { 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; } @@ -29057,7 +28979,7 @@ public int compareTo(checkAndMutate_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + lastComparison = java.lang.Boolean.compare(isSetRow(), other.isSetRow()); if (lastComparison != 0) { return lastComparison; } @@ -29067,7 +28989,7 @@ public int compareTo(checkAndMutate_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetFamily()).compareTo(other.isSetFamily()); + lastComparison = java.lang.Boolean.compare(isSetFamily(), other.isSetFamily()); if (lastComparison != 0) { return lastComparison; } @@ -29077,7 +28999,7 @@ public int compareTo(checkAndMutate_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetQualifier()).compareTo(other.isSetQualifier()); + lastComparison = java.lang.Boolean.compare(isSetQualifier(), other.isSetQualifier()); if (lastComparison != 0) { return lastComparison; } @@ -29087,7 +29009,7 @@ public int compareTo(checkAndMutate_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetCompareOperator()).compareTo(other.isSetCompareOperator()); + lastComparison = java.lang.Boolean.compare(isSetCompareOperator(), other.isSetCompareOperator()); if (lastComparison != 0) { return lastComparison; } @@ -29097,7 +29019,7 @@ public int compareTo(checkAndMutate_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); + lastComparison = java.lang.Boolean.compare(isSetValue(), other.isSetValue()); if (lastComparison != 0) { return lastComparison; } @@ -29107,7 +29029,7 @@ public int compareTo(checkAndMutate_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRowMutations()).compareTo(other.isSetRowMutations()); + lastComparison = java.lang.Boolean.compare(isSetRowMutations(), other.isSetRowMutations()); if (lastComparison != 0) { return lastComparison; } @@ -29649,8 +29571,6 @@ public boolean isSet(_Fields field) { @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; @@ -29704,7 +29624,7 @@ public int compareTo(checkAndMutate_result other) { 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; } @@ -29714,7 +29634,7 @@ public int compareTo(checkAndMutate_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -30080,8 +30000,6 @@ public boolean isSet(_Fields field) { @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; @@ -30124,7 +30042,7 @@ public int compareTo(getTableDescriptor_args other) { 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; } @@ -30496,8 +30414,6 @@ public boolean isSet(_Fields field) { @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; @@ -30553,7 +30469,7 @@ public int compareTo(getTableDescriptor_result other) { 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; } @@ -30563,7 +30479,7 @@ public int compareTo(getTableDescriptor_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -30957,8 +30873,6 @@ public boolean isSet(_Fields field) { @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; @@ -31001,7 +30915,7 @@ public int compareTo(getTableDescriptors_args other) { 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; } @@ -31161,7 +31075,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, getTableDescriptors 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) @@ -31423,8 +31337,6 @@ public boolean isSet(_Fields field) { @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; @@ -31480,7 +31392,7 @@ public int compareTo(getTableDescriptors_result other) { 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; } @@ -31490,7 +31402,7 @@ public int compareTo(getTableDescriptors_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -31684,7 +31596,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getTableDescriptors_ 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) @@ -31892,8 +31804,6 @@ public boolean isSet(_Fields field) { @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; @@ -31936,7 +31846,7 @@ public int compareTo(tableExists_args other) { 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; } @@ -32316,8 +32226,6 @@ public boolean isSet(_Fields field) { @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; @@ -32371,7 +32279,7 @@ public int compareTo(tableExists_result other) { 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; } @@ -32381,7 +32289,7 @@ public int compareTo(tableExists_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -32811,8 +32719,6 @@ public boolean isSet(_Fields field) { @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; @@ -32866,7 +32772,7 @@ public int compareTo(getTableDescriptorsByPattern_args other) { 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; } @@ -32876,7 +32782,7 @@ public int compareTo(getTableDescriptorsByPattern_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIncludeSysTables()).compareTo(other.isSetIncludeSysTables()); + lastComparison = java.lang.Boolean.compare(isSetIncludeSysTables(), other.isSetIncludeSysTables()); if (lastComparison != 0) { return lastComparison; } @@ -33295,8 +33201,6 @@ public boolean isSet(_Fields field) { @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; @@ -33352,7 +33256,7 @@ public int compareTo(getTableDescriptorsByPattern_result other) { 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; } @@ -33362,7 +33266,7 @@ public int compareTo(getTableDescriptorsByPattern_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -33556,7 +33460,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getTableDescriptorsB 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) @@ -33764,8 +33668,6 @@ public boolean isSet(_Fields field) { @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; @@ -33808,7 +33710,7 @@ public int compareTo(getTableDescriptorsByNamespace_args other) { 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; } @@ -34196,8 +34098,6 @@ public boolean isSet(_Fields field) { @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; @@ -34253,7 +34153,7 @@ public int compareTo(getTableDescriptorsByNamespace_result other) { 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; } @@ -34263,7 +34163,7 @@ public int compareTo(getTableDescriptorsByNamespace_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -34457,7 +34357,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getTableDescriptorsB 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) @@ -34729,8 +34629,6 @@ public boolean isSet(_Fields field) { @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; @@ -34784,7 +34682,7 @@ public int compareTo(getTableNamesByPattern_args other) { 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; } @@ -34794,7 +34692,7 @@ public int compareTo(getTableNamesByPattern_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIncludeSysTables()).compareTo(other.isSetIncludeSysTables()); + lastComparison = java.lang.Boolean.compare(isSetIncludeSysTables(), other.isSetIncludeSysTables()); if (lastComparison != 0) { return lastComparison; } @@ -35213,8 +35111,6 @@ public boolean isSet(_Fields field) { @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; @@ -35270,7 +35166,7 @@ public int compareTo(getTableNamesByPattern_result other) { 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; } @@ -35280,7 +35176,7 @@ public int compareTo(getTableNamesByPattern_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -35474,7 +35370,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getTableNamesByPatte 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) @@ -35682,8 +35578,6 @@ public boolean isSet(_Fields field) { @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; @@ -35726,7 +35620,7 @@ public int compareTo(getTableNamesByNamespace_args other) { 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; } @@ -36114,8 +36008,6 @@ public boolean isSet(_Fields field) { @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; @@ -36171,7 +36063,7 @@ public int compareTo(getTableNamesByNamespace_result other) { 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; } @@ -36181,7 +36073,7 @@ public int compareTo(getTableNamesByNamespace_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -36375,7 +36267,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getTableNamesByNames 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) @@ -36664,8 +36556,6 @@ public boolean isSet(_Fields field) { @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; @@ -36721,7 +36611,7 @@ public int compareTo(createTable_args other) { 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; } @@ -36731,7 +36621,7 @@ public int compareTo(createTable_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetSplitKeys()).compareTo(other.isSetSplitKeys()); + lastComparison = java.lang.Boolean.compare(isSetSplitKeys(), other.isSetSplitKeys()); if (lastComparison != 0) { return lastComparison; } @@ -36928,7 +36818,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, createTable_args str 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) @@ -37118,8 +37008,6 @@ public boolean isSet(_Fields field) { @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; @@ -37162,7 +37050,7 @@ public int compareTo(createTable_result other) { 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; } @@ -37499,8 +37387,6 @@ public boolean isSet(_Fields field) { @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; @@ -37543,7 +37429,7 @@ public int compareTo(deleteTable_args other) { 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; } @@ -37864,8 +37750,6 @@ public boolean isSet(_Fields field) { @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; @@ -37908,7 +37792,7 @@ public int compareTo(deleteTable_result other) { 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; } @@ -38309,8 +38193,6 @@ public boolean isSet(_Fields field) { @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; @@ -38364,7 +38246,7 @@ public int compareTo(truncateTable_args other) { 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; } @@ -38374,7 +38256,7 @@ public int compareTo(truncateTable_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetPreserveSplits()).compareTo(other.isSetPreserveSplits()); + lastComparison = java.lang.Boolean.compare(isSetPreserveSplits(), other.isSetPreserveSplits()); if (lastComparison != 0) { return lastComparison; } @@ -38719,8 +38601,6 @@ public boolean isSet(_Fields field) { @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; @@ -38763,7 +38643,7 @@ public int compareTo(truncateTable_result other) { 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; } @@ -39100,8 +38980,6 @@ public boolean isSet(_Fields field) { @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; @@ -39144,7 +39022,7 @@ public int compareTo(enableTable_args other) { 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; } @@ -39465,8 +39343,6 @@ public boolean isSet(_Fields field) { @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; @@ -39509,7 +39385,7 @@ public int compareTo(enableTable_result other) { 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; } @@ -39846,8 +39722,6 @@ public boolean isSet(_Fields field) { @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; @@ -39890,7 +39764,7 @@ public int compareTo(disableTable_args other) { 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; } @@ -40211,8 +40085,6 @@ public boolean isSet(_Fields field) { @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; @@ -40255,7 +40127,7 @@ public int compareTo(disableTable_result other) { 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; } @@ -40592,8 +40464,6 @@ public boolean isSet(_Fields field) { @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; @@ -40636,7 +40506,7 @@ public int compareTo(isTableEnabled_args other) { 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; } @@ -41009,8 +40879,6 @@ public boolean isSet(_Fields field) { @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; @@ -41064,7 +40932,7 @@ public int compareTo(isTableEnabled_result other) { 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; } @@ -41074,7 +40942,7 @@ public int compareTo(isTableEnabled_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -41440,8 +41308,6 @@ public boolean isSet(_Fields field) { @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; @@ -41484,7 +41350,7 @@ public int compareTo(isTableDisabled_args other) { 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; } @@ -41857,8 +41723,6 @@ public boolean isSet(_Fields field) { @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; @@ -41912,7 +41776,7 @@ public int compareTo(isTableDisabled_result other) { 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; } @@ -41922,7 +41786,7 @@ public int compareTo(isTableDisabled_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -42288,8 +42152,6 @@ public boolean isSet(_Fields field) { @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; @@ -42332,7 +42194,7 @@ public int compareTo(isTableAvailable_args other) { 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; } @@ -42705,8 +42567,6 @@ public boolean isSet(_Fields field) { @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; @@ -42760,7 +42620,7 @@ public int compareTo(isTableAvailable_result other) { 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; } @@ -42770,7 +42630,7 @@ public int compareTo(isTableAvailable_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -43217,8 +43077,6 @@ public boolean isSet(_Fields field) { @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; @@ -43274,7 +43132,7 @@ public int compareTo(isTableAvailableWithSplit_args other) { 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; } @@ -43284,7 +43142,7 @@ public int compareTo(isTableAvailableWithSplit_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetSplitKeys()).compareTo(other.isSetSplitKeys()); + lastComparison = java.lang.Boolean.compare(isSetSplitKeys(), other.isSetSplitKeys()); if (lastComparison != 0) { return lastComparison; } @@ -43481,7 +43339,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isTableAvailableWith 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) @@ -43723,8 +43581,6 @@ public boolean isSet(_Fields field) { @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; @@ -43778,7 +43634,7 @@ public int compareTo(isTableAvailableWithSplit_result other) { 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; } @@ -43788,7 +43644,7 @@ public int compareTo(isTableAvailableWithSplit_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -44217,8 +44073,6 @@ public boolean isSet(_Fields field) { @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; @@ -44274,7 +44128,7 @@ public int compareTo(addColumnFamily_args other) { 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; } @@ -44284,7 +44138,7 @@ public int compareTo(addColumnFamily_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -44637,8 +44491,6 @@ public boolean isSet(_Fields field) { @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; @@ -44681,7 +44533,7 @@ public int compareTo(addColumnFamily_result other) { 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; } @@ -45094,8 +44946,6 @@ public boolean isSet(_Fields field) { @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; @@ -45151,7 +45001,7 @@ public int compareTo(deleteColumnFamily_args other) { 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; } @@ -45161,7 +45011,7 @@ public int compareTo(deleteColumnFamily_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -45509,8 +45359,6 @@ public boolean isSet(_Fields field) { @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; @@ -45553,7 +45401,7 @@ public int compareTo(deleteColumnFamily_result other) { 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; } @@ -45953,8 +45801,6 @@ public boolean isSet(_Fields field) { @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; @@ -46010,7 +45856,7 @@ public int compareTo(modifyColumnFamily_args other) { 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; } @@ -46020,7 +45866,7 @@ public int compareTo(modifyColumnFamily_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumn()).compareTo(other.isSetColumn()); + lastComparison = java.lang.Boolean.compare(isSetColumn(), other.isSetColumn()); if (lastComparison != 0) { return lastComparison; } @@ -46373,8 +46219,6 @@ public boolean isSet(_Fields field) { @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; @@ -46417,7 +46261,7 @@ public int compareTo(modifyColumnFamily_result other) { 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; } @@ -46754,8 +46598,6 @@ public boolean isSet(_Fields field) { @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; @@ -46798,7 +46640,7 @@ public int compareTo(modifyTable_args other) { 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; } @@ -47119,8 +46961,6 @@ public boolean isSet(_Fields field) { @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; @@ -47163,7 +47003,7 @@ public int compareTo(modifyTable_result other) { 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; } @@ -47500,8 +47340,6 @@ public boolean isSet(_Fields field) { @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; @@ -47544,7 +47382,7 @@ public int compareTo(createNamespace_args other) { 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; } @@ -47865,8 +47703,6 @@ public boolean isSet(_Fields field) { @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; @@ -47909,7 +47745,7 @@ public int compareTo(createNamespace_result other) { 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; } @@ -48246,8 +48082,6 @@ public boolean isSet(_Fields field) { @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; @@ -48290,7 +48124,7 @@ public int compareTo(modifyNamespace_args other) { 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; } @@ -48611,8 +48445,6 @@ public boolean isSet(_Fields field) { @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; @@ -48655,7 +48487,7 @@ public int compareTo(modifyNamespace_result other) { 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; } @@ -48992,8 +48824,6 @@ public boolean isSet(_Fields field) { @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; @@ -49036,7 +48866,7 @@ public int compareTo(deleteNamespace_args other) { 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; } @@ -49352,8 +49182,6 @@ public boolean isSet(_Fields field) { @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; @@ -49396,7 +49224,7 @@ public int compareTo(deleteNamespace_result other) { 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; } @@ -49733,8 +49561,6 @@ public boolean isSet(_Fields field) { @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; @@ -49777,7 +49603,7 @@ public int compareTo(getNamespaceDescriptor_args other) { 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; } @@ -50144,8 +49970,6 @@ public boolean isSet(_Fields field) { @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; @@ -50201,7 +50025,7 @@ public int compareTo(getNamespaceDescriptor_result other) { 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; } @@ -50211,7 +50035,7 @@ public int compareTo(getNamespaceDescriptor_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -50515,8 +50339,6 @@ public boolean isSet(_Fields field) { @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; @@ -50898,8 +50720,6 @@ public boolean isSet(_Fields field) { @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; @@ -50955,7 +50775,7 @@ public int compareTo(listNamespaceDescriptors_result other) { 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; } @@ -50965,7 +50785,7 @@ public int compareTo(listNamespaceDescriptors_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -51159,7 +50979,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, listNamespaceDescrip 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) @@ -51298,8 +51118,6 @@ public boolean isSet(_Fields field) { @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; @@ -51678,8 +51496,6 @@ public boolean isSet(_Fields field) { @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; @@ -51735,7 +51551,7 @@ public int compareTo(listNamespaces_result other) { 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; } @@ -51745,7 +51561,7 @@ public int compareTo(listNamespaces_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -51938,7 +51754,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, listNamespaces_resul 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) @@ -52076,8 +51892,6 @@ public boolean isSet(_Fields field) { @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; @@ -52403,8 +52217,6 @@ public boolean isSet(_Fields field) { @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; @@ -52447,7 +52259,7 @@ public int compareTo(getThriftServerType_result other) { 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; } @@ -52713,8 +52525,6 @@ public boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getClusterId_args) return this.equals((getClusterId_args)that); return false; @@ -53024,8 +52834,6 @@ public boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof getClusterId_result) return this.equals((getClusterId_result)that); return false; @@ -53068,7 +52876,7 @@ public int compareTo(getClusterId_result other) { 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; } @@ -53487,8 +53295,6 @@ public boolean isSet(_Fields field) { @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; @@ -53544,7 +53350,7 @@ public int compareTo(getSlowLogResponses_args other) { 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; } @@ -53554,7 +53360,7 @@ public int compareTo(getSlowLogResponses_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetLogQueryFilter()).compareTo(other.isSetLogQueryFilter()); + lastComparison = java.lang.Boolean.compare(isSetLogQueryFilter(), other.isSetLogQueryFilter()); if (lastComparison != 0) { return lastComparison; } @@ -53751,7 +53557,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getSlowLogResponses_ 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) @@ -54019,8 +53825,6 @@ public boolean isSet(_Fields field) { @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; @@ -54076,7 +53880,7 @@ public int compareTo(getSlowLogResponses_result other) { 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; } @@ -54086,7 +53890,7 @@ public int compareTo(getSlowLogResponses_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -54280,7 +54084,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getSlowLogResponses_ 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) @@ -54509,8 +54313,6 @@ public boolean isSet(_Fields field) { @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; @@ -54553,7 +54355,7 @@ public int compareTo(clearSlowLogResponses_args other) { 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; } @@ -54719,7 +54521,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, clearSlowLogResponse 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) @@ -54979,8 +54781,6 @@ public boolean isSet(_Fields field) { @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; @@ -55036,7 +54836,7 @@ public int compareTo(clearSlowLogResponses_result other) { 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; } @@ -55046,7 +54846,7 @@ public int compareTo(clearSlowLogResponses_result other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetIo()).compareTo(other.isSetIo()); + lastComparison = java.lang.Boolean.compare(isSetIo(), other.isSetIo()); if (lastComparison != 0) { return lastComparison; } @@ -55239,7 +55039,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, clearSlowLogResponse 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 aa10937d44d2..351ab5c5450a 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.0) * * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof THRegionInfo) return this.equals((THRegionInfo)that); return false; @@ -630,7 +628,7 @@ public int compareTo(THRegionInfo other) { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetRegionId()).compareTo(other.isSetRegionId()); + lastComparison = java.lang.Boolean.compare(isSetRegionId(), other.isSetRegionId()); if (lastComparison != 0) { return lastComparison; } @@ -640,7 +638,7 @@ public int compareTo(THRegionInfo other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -650,7 +648,7 @@ public int compareTo(THRegionInfo other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStartKey()).compareTo(other.isSetStartKey()); + lastComparison = java.lang.Boolean.compare(isSetStartKey(), other.isSetStartKey()); if (lastComparison != 0) { return lastComparison; } @@ -660,7 +658,7 @@ public int compareTo(THRegionInfo other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetEndKey()).compareTo(other.isSetEndKey()); + lastComparison = java.lang.Boolean.compare(isSetEndKey(), other.isSetEndKey()); if (lastComparison != 0) { return lastComparison; } @@ -670,7 +668,7 @@ public int compareTo(THRegionInfo other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetOffline()).compareTo(other.isSetOffline()); + lastComparison = java.lang.Boolean.compare(isSetOffline(), other.isSetOffline()); if (lastComparison != 0) { return lastComparison; } @@ -680,7 +678,7 @@ public int compareTo(THRegionInfo other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetSplit()).compareTo(other.isSetSplit()); + lastComparison = java.lang.Boolean.compare(isSetSplit(), other.isSetSplit()); if (lastComparison != 0) { return lastComparison; } @@ -690,7 +688,7 @@ public int compareTo(THRegionInfo other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetReplicaId()).compareTo(other.isSetReplicaId()); + lastComparison = java.lang.Boolean.compare(isSetReplicaId(), other.isSetReplicaId()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/THRegionLocation.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/THRegionLocation.java index 294526c49f18..f8826da3e2b1 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/THRegionLocation.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/THRegionLocation.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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("THRegionLocation"); @@ -230,8 +230,6 @@ public boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof THRegionLocation) return this.equals((THRegionLocation)that); return false; @@ -287,7 +285,7 @@ public int compareTo(THRegionLocation other) { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetServerName()).compareTo(other.isSetServerName()); + lastComparison = java.lang.Boolean.compare(isSetServerName(), other.isSetServerName()); if (lastComparison != 0) { return lastComparison; } @@ -297,7 +295,7 @@ public int compareTo(THRegionLocation other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRegionInfo()).compareTo(other.isSetRegionInfo()); + lastComparison = java.lang.Boolean.compare(isSetRegionInfo(), other.isSetRegionInfo()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TIOError.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TIOError.java index 5ba5e1b58fea..f70ba2e2ee3d 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TIOError.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TIOError.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -12,7 +12,7 @@ * to the HBase master or a 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-06-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") public class TIOError 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("TIOError"); @@ -178,8 +178,6 @@ public boolean isSet(_Fields field) { @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 int compareTo(TIOError other) { 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 0daabee3c5e0..93f23d73264f 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @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 int compareTo(TIllegalArgument other) { 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 8a572c8a4b8a..39020a3b452f 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -14,7 +14,7 @@ * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TIncrement) return this.equals((TIncrement)that); return false; @@ -607,7 +605,7 @@ public int compareTo(TIncrement other) { 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; } @@ -617,7 +615,7 @@ public int compareTo(TIncrement other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -627,7 +625,7 @@ public int compareTo(TIncrement other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -637,7 +635,7 @@ public int compareTo(TIncrement other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetDurability()).compareTo(other.isSetDurability()); + lastComparison = java.lang.Boolean.compare(isSetDurability(), other.isSetDurability()); if (lastComparison != 0) { return lastComparison; } @@ -647,7 +645,7 @@ public int compareTo(TIncrement other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetCellVisibility()).compareTo(other.isSetCellVisibility()); + lastComparison = java.lang.Boolean.compare(isSetCellVisibility(), other.isSetCellVisibility()); if (lastComparison != 0) { return lastComparison; } @@ -657,7 +655,7 @@ public int compareTo(TIncrement other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetReturnResults()).compareTo(other.isSetReturnResults()); + lastComparison = java.lang.Boolean.compare(isSetReturnResults(), other.isSetReturnResults()); if (lastComparison != 0) { return lastComparison; } @@ -997,7 +995,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TIncrement struct) t struct.row = iprot.readBinary(); struct.setRowIsSet(true); { - 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.columns = new java.util.ArrayList(_list81.size); @org.apache.thrift.annotation.Nullable TColumnIncrement _elem82; for (int _i83 = 0; _i83 < _list81.size; ++_i83) @@ -1011,7 +1009,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TIncrement struct) t java.util.BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map84 = 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 _map84 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(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 101ecb119bf2..4be16115514f 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ * Thrift wrapper around * org.apache.hadoop.hbase.KeepDeletedCells */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 b681e4a048ea..fe1770581260 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ * Thrift wrapper around * org.apache.hadoop.hbase.client.LogQueryFilter */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TLogQueryFilter) return this.equals((TLogQueryFilter)that); return false; @@ -633,7 +631,7 @@ public int compareTo(TLogQueryFilter other) { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetRegionName()).compareTo(other.isSetRegionName()); + lastComparison = java.lang.Boolean.compare(isSetRegionName(), other.isSetRegionName()); if (lastComparison != 0) { return lastComparison; } @@ -643,7 +641,7 @@ public int compareTo(TLogQueryFilter other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetClientAddress()).compareTo(other.isSetClientAddress()); + lastComparison = java.lang.Boolean.compare(isSetClientAddress(), other.isSetClientAddress()); if (lastComparison != 0) { return lastComparison; } @@ -653,7 +651,7 @@ public int compareTo(TLogQueryFilter other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); + lastComparison = java.lang.Boolean.compare(isSetTableName(), other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } @@ -663,7 +661,7 @@ public int compareTo(TLogQueryFilter other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetUserName()).compareTo(other.isSetUserName()); + lastComparison = java.lang.Boolean.compare(isSetUserName(), other.isSetUserName()); if (lastComparison != 0) { return lastComparison; } @@ -673,7 +671,7 @@ public int compareTo(TLogQueryFilter other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetLimit()).compareTo(other.isSetLimit()); + lastComparison = java.lang.Boolean.compare(isSetLimit(), other.isSetLimit()); if (lastComparison != 0) { return lastComparison; } @@ -683,7 +681,7 @@ public int compareTo(TLogQueryFilter other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetLogType()).compareTo(other.isSetLogType()); + lastComparison = java.lang.Boolean.compare(isSetLogType(), other.isSetLogType()); if (lastComparison != 0) { return lastComparison; } @@ -693,7 +691,7 @@ public int compareTo(TLogQueryFilter other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetFilterByOperator()).compareTo(other.isSetFilterByOperator()); + lastComparison = java.lang.Boolean.compare(isSetFilterByOperator(), other.isSetFilterByOperator()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TLogType.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TLogType.java index 7e88c52b8545..82a23e176ce8 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TLogType.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TLogType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") public enum TLogType implements org.apache.thrift.TEnum { SLOW_LOG(1), LARGE_LOG(2); diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TMutation.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TMutation.java index 940edcce294c..e83516d0da77 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TMutation.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TMutation.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ /** * Atomic mutation for the specified row. It can be either Put or Delete. */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") public class TMutation extends org.apache.thrift.TUnion { 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 TPut getPut() { } public void setPut(TPut value) { - if (value == null) throw new java.lang.NullPointerException(); setField_ = _Fields.PUT; - value_ = value; + value_ = java.util.Objects.requireNonNull(value,"_Fields.PUT"); } public TDelete getDeleteSingle() { @@ -276,9 +275,8 @@ public TDelete getDeleteSingle() { } public void setDeleteSingle(TDelete value) { - if (value == null) throw new java.lang.NullPointerException(); setField_ = _Fields.DELETE_SINGLE; - value_ = value; + value_ = java.util.Objects.requireNonNull(value,"_Fields.DELETE_SINGLE"); } public boolean isSetPut() { diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TNamespaceDescriptor.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TNamespaceDescriptor.java index f6ee181b68bf..eb4398c1a86d 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TNamespaceDescriptor.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TNamespaceDescriptor.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ * Thrift wrapper around * org.apache.hadoop.hbase.NamespaceDescriptor */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") public class TNamespaceDescriptor 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("TNamespaceDescriptor"); @@ -247,8 +247,6 @@ public boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TNamespaceDescriptor) return this.equals((TNamespaceDescriptor)that); return false; @@ -304,7 +302,7 @@ public int compareTo(TNamespaceDescriptor other) { 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; } @@ -314,7 +312,7 @@ public int compareTo(TNamespaceDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetConfiguration()).compareTo(other.isSetConfiguration()); + lastComparison = java.lang.Boolean.compare(isSetConfiguration(), other.isSetConfiguration()); if (lastComparison != 0) { return lastComparison; } @@ -514,7 +512,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TNamespaceDescriptor java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map186 = 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 _map186 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.configuration = new java.util.HashMap(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 78c057e0801c..49d6d05e2ba4 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ * Thrift wrapper around * org.apache.hadoop.hbase.client.OnlineLogRecordrd */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TOnlineLogRecord) return this.equals((TOnlineLogRecord)that); return false; @@ -1039,7 +1037,7 @@ public int compareTo(TOnlineLogRecord other) { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetStartTime()).compareTo(other.isSetStartTime()); + lastComparison = java.lang.Boolean.compare(isSetStartTime(), other.isSetStartTime()); if (lastComparison != 0) { return lastComparison; } @@ -1049,7 +1047,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetProcessingTime()).compareTo(other.isSetProcessingTime()); + lastComparison = java.lang.Boolean.compare(isSetProcessingTime(), other.isSetProcessingTime()); if (lastComparison != 0) { return lastComparison; } @@ -1059,7 +1057,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetQueueTime()).compareTo(other.isSetQueueTime()); + lastComparison = java.lang.Boolean.compare(isSetQueueTime(), other.isSetQueueTime()); if (lastComparison != 0) { return lastComparison; } @@ -1069,7 +1067,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetResponseSize()).compareTo(other.isSetResponseSize()); + lastComparison = java.lang.Boolean.compare(isSetResponseSize(), other.isSetResponseSize()); if (lastComparison != 0) { return lastComparison; } @@ -1079,7 +1077,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetClientAddress()).compareTo(other.isSetClientAddress()); + lastComparison = java.lang.Boolean.compare(isSetClientAddress(), other.isSetClientAddress()); if (lastComparison != 0) { return lastComparison; } @@ -1089,7 +1087,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetServerClass()).compareTo(other.isSetServerClass()); + lastComparison = java.lang.Boolean.compare(isSetServerClass(), other.isSetServerClass()); if (lastComparison != 0) { return lastComparison; } @@ -1099,7 +1097,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetMethodName()).compareTo(other.isSetMethodName()); + lastComparison = java.lang.Boolean.compare(isSetMethodName(), other.isSetMethodName()); if (lastComparison != 0) { return lastComparison; } @@ -1109,7 +1107,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetCallDetails()).compareTo(other.isSetCallDetails()); + lastComparison = java.lang.Boolean.compare(isSetCallDetails(), other.isSetCallDetails()); if (lastComparison != 0) { return lastComparison; } @@ -1119,7 +1117,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetParam()).compareTo(other.isSetParam()); + lastComparison = java.lang.Boolean.compare(isSetParam(), other.isSetParam()); if (lastComparison != 0) { return lastComparison; } @@ -1129,7 +1127,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetUserName()).compareTo(other.isSetUserName()); + lastComparison = java.lang.Boolean.compare(isSetUserName(), other.isSetUserName()); if (lastComparison != 0) { return lastComparison; } @@ -1139,7 +1137,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetMultiGetsCount()).compareTo(other.isSetMultiGetsCount()); + lastComparison = java.lang.Boolean.compare(isSetMultiGetsCount(), other.isSetMultiGetsCount()); if (lastComparison != 0) { return lastComparison; } @@ -1149,7 +1147,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetMultiMutationsCount()).compareTo(other.isSetMultiMutationsCount()); + lastComparison = java.lang.Boolean.compare(isSetMultiMutationsCount(), other.isSetMultiMutationsCount()); if (lastComparison != 0) { return lastComparison; } @@ -1159,7 +1157,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetMultiServiceCalls()).compareTo(other.isSetMultiServiceCalls()); + lastComparison = java.lang.Boolean.compare(isSetMultiServiceCalls(), other.isSetMultiServiceCalls()); if (lastComparison != 0) { return lastComparison; } @@ -1169,7 +1167,7 @@ public int compareTo(TOnlineLogRecord other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetRegionName()).compareTo(other.isSetRegionName()); + lastComparison = java.lang.Boolean.compare(isSetRegionName(), other.isSetRegionName()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TPut.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TPut.java index 1e27602a4acd..2ad4ed67fa2b 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TPut.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TPut.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -19,7 +19,7 @@ * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") public class TPut 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 boolean isSet(_Fields field) { @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 int compareTo(TPut other) { 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 int compareTo(TPut other) { 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 int compareTo(TPut other) { 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 int compareTo(TPut other) { 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 int compareTo(TPut other) { 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 int compareTo(TPut other) { 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 void read(org.apache.thrift.protocol.TProtocol prot, TPut struct) throws 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 void read(org.apache.thrift.protocol.TProtocol prot, TPut struct) throws } 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 16d1da776344..05f2fd144a71 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.0) * * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 9525723ccc65..824ef816b5c5 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ /** * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TResult) return this.equals((TResult)that); return false; @@ -449,7 +447,7 @@ public int compareTo(TResult other) { 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; } @@ -459,7 +457,7 @@ public int compareTo(TResult other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumnValues()).compareTo(other.isSetColumnValues()); + lastComparison = java.lang.Boolean.compare(isSetColumnValues(), other.isSetColumnValues()); if (lastComparison != 0) { return lastComparison; } @@ -469,7 +467,7 @@ public int compareTo(TResult other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStale()).compareTo(other.isSetStale()); + lastComparison = java.lang.Boolean.compare(isSetStale(), other.isSetStale()); if (lastComparison != 0) { return lastComparison; } @@ -479,7 +477,7 @@ public int compareTo(TResult other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetPartial()).compareTo(other.isSetPartial()); + lastComparison = java.lang.Boolean.compare(isSetPartial(), other.isSetPartial()); if (lastComparison != 0) { return lastComparison; } @@ -724,7 +722,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TResult struct) thr public void read(org.apache.thrift.protocol.TProtocol prot, TResult struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list5 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list5 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.columnValues = new java.util.ArrayList(_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 a28e1f946e01..59b785b981b2 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ /** * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TRowMutations) return this.equals((TRowMutations)that); return false; @@ -324,7 +322,7 @@ public int compareTo(TRowMutations other) { 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; } @@ -334,7 +332,7 @@ public int compareTo(TRowMutations other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetMutations()).compareTo(other.isSetMutations()); + lastComparison = java.lang.Boolean.compare(isSetMutations(), other.isSetMutations()); if (lastComparison != 0) { return lastComparison; } @@ -521,7 +519,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TRowMutations struct struct.row = iprot.readBinary(); struct.setRowIsSet(true); { - org.apache.thrift.protocol.TList _list139 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list139 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.mutations = new java.util.ArrayList(_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 ef3588e8f165..29ef31af5cca 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 int compareTo(TScan other) { 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 void read(org.apache.thrift.protocol.TProtocol prot, TScan struct) throws } 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 void read(org.apache.thrift.protocol.TProtocol prot, TScan struct) throws } 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 void read(org.apache.thrift.protocol.TProtocol prot, TScan struct) throws } 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 b19bd1f25168..8e9983dd290c 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.0) * * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TServerName) return this.equals((TServerName)that); return false; @@ -346,7 +344,7 @@ public int compareTo(TServerName other) { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetHostName()).compareTo(other.isSetHostName()); + lastComparison = java.lang.Boolean.compare(isSetHostName(), other.isSetHostName()); if (lastComparison != 0) { return lastComparison; } @@ -356,7 +354,7 @@ public int compareTo(TServerName other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetPort()).compareTo(other.isSetPort()); + lastComparison = java.lang.Boolean.compare(isSetPort(), other.isSetPort()); if (lastComparison != 0) { return lastComparison; } @@ -366,7 +364,7 @@ public int compareTo(TServerName other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetStartCode()).compareTo(other.isSetStartCode()); + lastComparison = java.lang.Boolean.compare(isSetStartCode(), other.isSetStartCode()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TTableDescriptor.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TTableDescriptor.java index b265d8cbf0ad..25b16f1b90c4 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TTableDescriptor.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TTableDescriptor.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ * Thrift wrapper around * org.apache.hadoop.hbase.client.TableDescriptor */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") public class TTableDescriptor 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TTableDescriptor) return this.equals((TTableDescriptor)that); return false; @@ -465,7 +463,7 @@ public int compareTo(TTableDescriptor other) { 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; } @@ -475,7 +473,7 @@ public int compareTo(TTableDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); + lastComparison = java.lang.Boolean.compare(isSetColumns(), other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } @@ -485,7 +483,7 @@ public int compareTo(TTableDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); + lastComparison = java.lang.Boolean.compare(isSetAttributes(), other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } @@ -495,7 +493,7 @@ public int compareTo(TTableDescriptor other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetDurability()).compareTo(other.isSetDurability()); + lastComparison = java.lang.Boolean.compare(isSetDurability(), other.isSetDurability()); if (lastComparison != 0) { return lastComparison; } @@ -786,7 +784,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TTableDescriptor str java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list173 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + org.apache.thrift.protocol.TList _list173 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); struct.columns = new java.util.ArrayList(_list173.size); @org.apache.thrift.annotation.Nullable TColumnFamilyDescriptor _elem174; for (int _i175 = 0; _i175 < _list173.size; ++_i175) @@ -800,7 +798,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TTableDescriptor str } if (incoming.get(1)) { { - org.apache.thrift.protocol.TMap _map176 = 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 _map176 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.attributes = new java.util.HashMap(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 eab0b609ea02..b5b1fb3cef24 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.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -11,7 +11,7 @@ * Thrift wrapper around * org.apache.hadoop.hbase.TableName */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TTableName) return this.equals((TTableName)that); return false; @@ -340,7 +338,7 @@ public int compareTo(TTableName other) { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetNs()).compareTo(other.isSetNs()); + lastComparison = java.lang.Boolean.compare(isSetNs(), other.isSetNs()); if (lastComparison != 0) { return lastComparison; } @@ -350,7 +348,7 @@ public int compareTo(TTableName other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetQualifier()).compareTo(other.isSetQualifier()); + lastComparison = java.lang.Boolean.compare(isSetQualifier(), other.isSetQualifier()); if (lastComparison != 0) { return lastComparison; } diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TThriftServerType.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TThriftServerType.java index 3f2de88364f1..e75095b1e35f 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TThriftServerType.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TThriftServerType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -10,7 +10,7 @@ /** * Specify type of thrift server: thrift and thrift2 */ -@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2020-06-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") 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/generated/TTimeRange.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TTimeRange.java index fe9fe16a9193..72a72f80ca21 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TTimeRange.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TTimeRange.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.13.0) + * Autogenerated by Thrift Compiler (0.14.0) * * 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-13") +@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.0)", date = "2021-03-02") public class TTimeRange 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 boolean isSet(_Fields field) { @Override public boolean equals(java.lang.Object that) { - if (that == null) - return false; if (that instanceof TTimeRange) return this.equals((TTimeRange)that); return false; @@ -283,7 +281,7 @@ public int compareTo(TTimeRange other) { int lastComparison = 0; - lastComparison = java.lang.Boolean.valueOf(isSetMinStamp()).compareTo(other.isSetMinStamp()); + lastComparison = java.lang.Boolean.compare(isSetMinStamp(), other.isSetMinStamp()); if (lastComparison != 0) { return lastComparison; } @@ -293,7 +291,7 @@ public int compareTo(TTimeRange other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetMaxStamp()).compareTo(other.isSetMaxStamp()); + lastComparison = java.lang.Boolean.compare(isSetMaxStamp(), other.isSetMaxStamp()); if (lastComparison != 0) { return lastComparison; } From d232d0e4970cace6e2f81f578005ec8db95bbf8a Mon Sep 17 00:00:00 2001 From: Pankaj Kumar Date: Wed, 3 Mar 2021 09:31:34 +0530 Subject: [PATCH 5/6] HBASE-25568 Handled review comment --- .../java/org/apache/hadoop/hbase/thrift2/DemoClient.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 1ab2f8dcd377..09546ffbba2b 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 @@ -93,13 +93,8 @@ public Void run() throws Exception { public void run() throws Exception { int timeout = 10000; boolean framed = false; - TTransport transport = null; - try { - transport = new TSocket(new TConfiguration(), host, port, timeout); - } catch (TTransportException e) { - throw new IOException(e); - } + TTransport transport = new TSocket(new TConfiguration(), host, port, timeout); if (framed) { transport = new TFramedTransport(transport); } else if (secure) { From 70ed8c296d3377691d19c61a35e12d0cdaed4089 Mon Sep 17 00:00:00 2001 From: Pankaj Kumar Date: Wed, 3 Mar 2021 09:33:50 +0530 Subject: [PATCH 6/6] HBASE-25568 Removed unused import --- .../main/java/org/apache/hadoop/hbase/thrift2/DemoClient.java | 2 -- 1 file changed, 2 deletions(-) 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 09546ffbba2b..e9ff842a5979 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 @@ -18,7 +18,6 @@ */ package org.apache.hadoop.hbase.thrift2; -import java.io.IOException; import java.nio.ByteBuffer; import java.security.PrivilegedExceptionAction; import java.util.ArrayList; @@ -42,7 +41,6 @@ import org.apache.thrift.transport.TSaslClientTransport; 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;